@Override
    public void clear() {
        underlying.clear();
    }
@Test
    public void testClear() {
        BoundedList<String> list = BoundedList.newArrayBacked(3);
        list.add("a");
        list.add("a");
        list.add("c");
        list.clear();
        assertEquals(Arrays.asList(), list);
        assertTrue(list.isEmpty());
    }