@Override
    @MethodNotAvailable
    public void delete(K key) {
        throw new MethodNotAvailableException();
    }
@Test(expected = MethodNotAvailableException.class)
    public void testDelete() {
        adapter.delete(23);
    }