List<CacheStore> cachestores = TestingUtil.cachestores(caches());
for (CacheStore cs: cachestores) {
assert cs.containsKey("key");
DummyInMemoryCacheStore dimcs = (DummyInMemoryCacheStore) cs;
assert dimcs.stats().get("clear") == 0: "Cache store should not be cleared, purgeOnStartup is false";
assert dimcs.stats().get("store") == 1: "Cache store should have been written to just once, but was written to " + dimcs.stats().get("store") + " times";
}
cache(0).remove("key");
for (Cache<Object, Object> c: caches())