Fqn fqn = Fqn.fromString("/a/b");
TransactionManager mgr = caches.get(0).getTransactionManager();
assertNull("Should be null", caches.get(0).get(fqn, "key"));
assertNull("Should be null", caches.get(1).get(fqn, "key"));
mgr.begin();
caches.get(0).put(fqn, "key", "value");
assertEquals("value", caches.get(0).get(fqn, "key"));
assertNull("Should be null", caches.get(1).get(fqn, "key"));
mgr.commit();
assertEquals("value", caches.get(1).get(fqn, "key"));