### Question:
CuratorZookeeperClient extends AbstractZookeeperClient<CuratorWatcher> { @Override public List<String> getChildren(String path) { try { return client.getChildren().forPath(path); } catch (NoNodeException e) { return null; } catch (Exception e) { throw new IllegalStateException(e.getMessage(), e); } } CuratorZookeeperClient(URL url); @Override void createPersistent(String path); @Override void createEphemeral(String path); @Override void delete(String path); @Override List<String> getChildren(String path); @Override boolean checkExists(String path); @Override boolean isConnected(); @Override String doGetContent(String path); @Override void doClose(); @Override CuratorWatcher createTargetChildListener(String path, ChildListener listener); @Override List<String> addTargetChildListener(String path, CuratorWatcher listener); @Override void removeTargetChildListener(String path, CuratorWatcher listener);  }### Answer:
@Test public void testChildrenPath() { String path = "/dubbo/org.apache.dubbo.demo.DemoService/providers"; curatorClient.create(path, false); curatorClient.create(path + "/provider1", false); curatorClient.create(path + "/provider2", false); List<String> children = curatorClient.getChildren(path); assertThat(children.size(), is(2)); }