@Override
    public void destroy() {
        begin();
        transactionalMap.destroy();
        commit();
    }
@Test
    public void testDestroy() {
        map.put(23, "foobar");

        adapter.destroy();

        assertTrue(map.isEmpty());
    }