### Question:
ZKPaths { public static List<String> split(String path) { PathUtils.validatePath(path); return PATH_SPLITTER.splitToList(path); } private  ZKPaths(); static CreateMode getContainerCreateMode(); static boolean hasContainerSupport(); static String fixForNamespace(String namespace, String path); static String fixForNamespace(String namespace, String path, boolean isSequential); static String getNodeFromPath(String path); static PathAndNode getPathAndNode(String path); static List<String> split(String path); static void mkdirs(ZooKeeper zookeeper, String path); static void mkdirs(ZooKeeper zookeeper, String path, boolean makeLastNode); static void mkdirs(ZooKeeper zookeeper, String path, boolean makeLastNode, InternalACLProvider aclProvider); static void mkdirs(ZooKeeper zookeeper, String path, boolean makeLastNode, InternalACLProvider aclProvider, boolean asContainers); static void deleteChildren(ZooKeeper zookeeper, String path, boolean deleteSelf); static List<String> getSortedChildren(ZooKeeper zookeeper, String path); static String makePath(String parent, String child); static String makePath(String parent, String firstChild, String... restChildren); static final String PATH_SEPARATOR; }### Answer:
@Test public void testSplit() { Assert.assertEquals(ZKPaths.split("/"), Collections.emptyList()); Assert.assertEquals(ZKPaths.split("/test"), Collections.singletonList("test")); Assert.assertEquals(ZKPaths.split("/test/one"), Arrays.asList("test", "one")); Assert.assertEquals(ZKPaths.split("/test/one/two"), Arrays.asList("test", "one", "two")); }