AbstractEntry implements ICacheEntry<D> { @Override public abstract void wasUsed(); AbstractEntry(D data); @Override D getData(); @Override abstract void wasUsed(); @Override long getId(); @Override long getByteSize(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testUseCount() { AbstractEntryWrapper uut = new AbstractEntryWrapper(mockedImg); uut.wasUsed(); }