public void testPersistence() throws CacheLoaderException {
cache.put("/a/b/c", "key", "value");
assert "value".equals(cache.get("/a/b/c", "key"));
assert store.containsKey(new NodeKey(Fqn.fromString("/a/b/c"), DATA));
assert "value".equals(nodeContentsInCacheStore(store, Fqn.fromString("/a/b/c")).get("key"));
assert store.containsKey(new NodeKey(Fqn.fromString("/a/b/c"), STRUCTURE));
restartCache();
assert "value".equals(cache.get("/a/b/c", "key"));
assert store.containsKey(new NodeKey(Fqn.fromString("/a/b/c"), DATA));
assert "value".equals(nodeContentsInCacheStore(store, Fqn.fromString("/a/b/c")).get("key"));
assert store.containsKey(new NodeKey(Fqn.fromString("/a/b/c"), STRUCTURE));
}