### Question:
ConfigService implements ConfigInterface { @Override public List<ApplicationConfig> getApplicationConfig(String appName) { List<ApplicationConfig> configList = new ArrayList<>(); final String path = zkPath + configPath; try { if (client.checkExists().forPath(path) != null) { List<String> childPaths = this.client.getChildren().forPath(path); if (CollectionUtils.isNotEmpty(childPaths)) { for (String childPath : childPaths) { if (childPath.indexOf(appName) != -1) { String value = new String(client.getData().forPath(path + "/" + childPath)); configList.add(new ApplicationConfig(childPath, value)); LOGGER.info("read configuration: {} --> {} success", childPath, value); } } } } } catch (Exception e) { LOGGER.error("getApplicationConfig failed", e); } return configList; }  @Override List<ApplicationConfig> getApplicationConfig(String appName); @Override void saveApplicationConfig(String appName, List<ApplicationConfig> configs);  }### Answer:
@Test public void getApplicationConfig() throws Exception { configService.getApplicationConfig("basic"); }