@Override
    @MethodNotAvailable
    public void clear() {
        throw new MethodNotAvailableException();
    }
@Test(expected = MethodNotAvailableException.class)
    public void testClear() {
        adapter.clear();
    }