cache.put("test1", new DummyPojo("test1", 1024));
CacheEntry entry = cache.remove("test1");
assertEquals("test1", entry.key);
entry = cache.getEntry("test1");
assertNull(entry);
cache.reset();
}
@Test public void reachLimit() {
int limit = 10;
CacheStore cache = new CacheStore(limit, 1 * 1024 * 1024, 1);