assertEquals(toInvalidate, invalidated);
}
public void testEmptySimpleStats() {
StatsCounter counter = new SimpleStatsCounter();
CacheStats stats = counter.snapshot();
assertEquals(0, stats.requestCount());
assertEquals(0, stats.hitCount());
assertEquals(1.0, stats.hitRate());
assertEquals(0, stats.missCount());
assertEquals(0.0, stats.missRate());