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