@Override
    public V removeLast() {
        V value = get(removeLastAsync());
        if (value == null) {
            throw new NoSuchElementException();
        }
        return value;
    }
@Test
    public void testRemoveLast() {
        RDeque<Integer> queue1 = redisson.getDeque("deque1");
        queue1.addFirst(1);
        queue1.addFirst(2);
        queue1.addFirst(3);

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