Assert.assertTrue(backend.isCached(subject1.stringValue()));
Assert.assertFalse(backend.isCached(subject2.stringValue()));
Assert.assertEquals(1,asList(backend.listCacheEntries()).size());
Assert.assertEquals(0,asList(backend.listExpiredEntries()).size());
con.begin();
CacheEntry entry2 = new CacheEntry();
entry2.setExpiryDate(new Date(System.currentTimeMillis() - 1000 * 60));
entry2.setLastRetrieved(new Date());
entry2.setUpdateCount(1);
entry2.setResource(subject2);