@Override
    public int addFirst(V... elements) {
        return get(addFirstAsync(elements));
    }
@Test
    public void testRemoveFirst() {
        RDeque<Integer> queue1 = redisson.getDeque("deque1");
        queue1.addFirst(1);
        queue1.addFirst(2);
        queue1.addFirst(3);

        Assertions.assertEquals(3, (int)queue1.removeFirst());
        Assertions.assertEquals(2, (int)queue1.removeFirst());
        Assertions.assertEquals(1, (int)queue1.removeFirst());
    }