@Override
    public boolean removeLastOccurrence(Object o) {
        return remove(o, -1);
    }
@Test
    public void testRemoveLastOccurrence() {
        RDeque<Integer> queue1 = redisson.getDeque("deque1");
        queue1.addFirst(3);
        queue1.addFirst(1);
        queue1.addFirst(2);
        queue1.addFirst(3);

        queue1.removeLastOccurrence(3);

        assertThat(queue1).containsExactly(3, 2, 1);
    }