for (Cache<Object, String> c : caches) {
assertEquals(value2, c.get(key));
if (isOwner(c, key)) {
CacheStore store = TestingUtil.extractComponent(c, CacheLoaderManager.class).getCacheStore();
assertTrue(store.containsKey(key));
assertEquals(value2, store.load(key).getValue());
}
}
}
public void testAtomicReplaceFromNonOwnerWithFlag() throws Exception {