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