@Override
    public int size() {
        return cache.size();
    }
@Test
    public void testSize() {
        cache.put(23, "foo");
        cache.put(42, "bar");

        assertEquals(2, adapter.size());
    }