### Question:
ConfigService implements ConfigInterface { @Override public void saveApplicationConfig(String appName, List<ApplicationConfig> configs) { try { for (ApplicationConfig config : configs) { if(StringUtils.isNotBlank(config.getValue())) { final String path = zkPath + configPath + "/" + config.getProperty(); if (client.checkExists().forPath(path) == null) { this.client.create().forPath(path, config.getValue().getBytes("UTF-8")); LOGGER.info("add configuration: {} --> {} success", config.getProperty(), config.getValue()); } else { this.client.setData().forPath(path, config.getValue().getBytes("UTF-8")); LOGGER.info("set configuration: {} --> {} success", config.getProperty(), config.getValue()); } } } LOGGER.info("save all configurations success"); } catch (Exception e) { LOGGER.error("save all configurations to zookeeper failed with exception.", e); } }  @Override List<ApplicationConfig> getApplicationConfig(String appName); @Override void saveApplicationConfig(String appName, List<ApplicationConfig> configs);  }### Answer:
@Test public void saveApplicationConfig() throws Exception { configService.saveApplicationConfig("basic", Arrays.asList(new ApplicationConfig("hystrix.threadpool.basic.coreSize", "12"))); }