@Test
public void testLoadData() {

  AbstractCacheWrapper uut = new AbstractCacheWrapper(entries, null, 20000, predicate -> true);
  uut.cacheData(c0);
  uut.cacheData(c2);
  assertEquals(c0, uut.loadData(c0.getId()));
  assertEquals(null, uut.loadData(c1.getId()));
  assertEquals(c2, uut.loadData(c2.getId()));
  assertEquals(null, uut.loadData(c3.getId()));
  entries.clear();
  uut = new AbstractCacheWrapper(entries, storageAll, 20000, predicate -> true);
  assertEquals(c0, uut.loadData(c0.getId()));
  assertEquals(c1, uut.loadData(c1.getId()));
  assertEquals(c2, uut.loadData(c2.getId()));
  assertEquals(c3, uut.loadData(c3.getId()));
}