ZKTools { public static void deleteTree(ZooKeeper zk, String path) throws Exception { String[] list = getTree(zk, path); for (int i = list.length - 1; i >= 0; i--) { zk.delete(list[i], -1); } }  static void createPath(ZooKeeper zk, String path, CreateMode createMode, List<ACL> acl); static void printTree(ZooKeeper zk, String path, Writer writer, String lineSplitChar); static void deleteTree(ZooKeeper zk, String path); static String[] getTree(ZooKeeper zk, String path);  }
@Test public void deleteTree() { }