results = commit(zk.transaction()
.delete("/t2", -1)
.delete("/t1/child", -1));
assertEquals(2, results.size());
for (OpResult r : results) {
DeleteResult d = (DeleteResult)r;
assertNotNull(d.toString());
}
assertNotNull(zk.exists("/t1", false));
assertNull(zk.exists("/t1/child", false));
assertNull(zk.exists("/t2", false));
}