### Question:
ZkUtils { public static void mkNodesStr(ZooKeeper zk, String path) { if (path == null) { return; } mkNodes(zk, path.split("/")); }  static void pause(Object o); static ZooKeeper newZooKeeper(String zkConnectionString, int sessionTimeout); static void mkNodesStr(ZooKeeper zk, String path); static void mkNodes(ZooKeeper zk, String... path); static String getPath(String... parts); static boolean exists(ZooKeeper zk, String... path); static void deleteAnyVersion(ZooKeeper zk, String path); static void waitUntilExists(ZooKeeper zooKeeper, String path); static void rmr(ZooKeeper zooKeeper, String path); static final int ANY_VERSION; }### Answer:
@Test public void testMkNodesStrWhenNoNodesExist() throws Exception { assertDoesNotExist("/test/foo/bar"); ZkUtils.mkNodesStr(_zooKeeper, "/test/foo/bar"); assertExists("/test/foo/bar"); }