// Setup a database with a single /foo node
ZKDatabase zkDb = new ZKDatabase(new FileTxnSnapLog(tmpDir, tmpDir));
final long foo1Zxid = ZxidUtils.makeZxid(1, 1);
final long foo2Zxid = ZxidUtils.makeZxid(1, 2);
zkDb.processTxn(new TxnHeader(13, 1313, foo1Zxid, 33,
ZooDefs.OpCode.create), new CreateTxn("/foo1",
"data1".getBytes(), ZooDefs.Ids.OPEN_ACL_UNSAFE,
false, 1));
zkDb.processTxn(new TxnHeader(13, 1313, foo2Zxid, 33,
ZooDefs.OpCode.create), new CreateTxn("/foo2",