AbstractEntry implements ICacheEntry<D> { @Override public long getId() { return data.getId(); } 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 testGetID() { AbstractEntryWrapper uut = new AbstractEntryWrapper(mockedImg); assertEquals(MOCKED_ID, uut.getId()); }