assert cs.containsKey(persons[0].getName()) :
"Cache misconfigured, maybe cache store not pointing to same place, maybe passivation on...etc";
DummyInMemoryCacheStore dimcs = (DummyInMemoryCacheStore) cs;
assert dimcs.stats().get("clear") == 0:
"Cache store should not be cleared, purgeOnStartup is false";
assert dimcs.stats().get("store") == 4:
"Cache store should have been written to 4 times, but was written to " + dimcs.stats().get("store") + " times";
}
// Before adding a node, verify that the query resolves properly
executeSimpleQuery(this.<String, Person>caches().get(0));