return c;
}
public void testSimpleStateTransfer() throws Exception
{
first = (CacheSPI) new UnitTestCacheFactory().createCache(getConfiguration(props1), getClass());
first.put("/a/b/c", "key", "value");
first.put("/a/b/d", "key", "value");
first.put("/a/b/e", "key", "value");
second = (CacheSPI) new UnitTestCacheFactory().createCache(getConfiguration(props2), getClass());
assert second.get("/a/b/c", "key").equals("value");
assert second.get("/a/b/d", "key").equals("value");
assert second.get("/a/b/e", "key").equals("value");
JDBCCacheLoader cacheLoader = (JDBCCacheLoader) second.getCacheLoaderManager().getCacheLoader();
assert cacheLoader.exists(Fqn.fromString("/a"));