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