@Test public void assertUpdate() { CloudAppConfigurationPOJO appConfig = CloudAppConfigurationBuilder.createCloudAppConfiguration("test_app"); configService.update(appConfig); verify(regCenter).update("/config/app/test_app", YAML); }
public void update(final CloudAppConfigurationPOJO appConfig) { regCenter.update(CloudAppConfigurationNode.getRootNodePath(appConfig.getAppName()), YamlEngine.marshal(appConfig)); }
CloudAppConfigurationService { public void update(final CloudAppConfigurationPOJO appConfig) { regCenter.update(CloudAppConfigurationNode.getRootNodePath(appConfig.getAppName()), YamlEngine.marshal(appConfig)); } }
CloudAppConfigurationService { public void update(final CloudAppConfigurationPOJO appConfig) { regCenter.update(CloudAppConfigurationNode.getRootNodePath(appConfig.getAppName()), YamlEngine.marshal(appConfig)); }  }
CloudAppConfigurationService { public void update(final CloudAppConfigurationPOJO appConfig) { regCenter.update(CloudAppConfigurationNode.getRootNodePath(appConfig.getAppName()), YamlEngine.marshal(appConfig)); }  void add(final CloudAppConfigurationPOJO appConfig); void update(final CloudAppConfigurationPOJO appConfig); Optional<CloudAppConfigurationPOJO> load(final String appName); Collection<CloudAppConfigurationPOJO> loadAll(); void remove(final String appName); }
CloudAppConfigurationService { public void update(final CloudAppConfigurationPOJO appConfig) { regCenter.update(CloudAppConfigurationNode.getRootNodePath(appConfig.getAppName()), YamlEngine.marshal(appConfig)); }  void add(final CloudAppConfigurationPOJO appConfig); void update(final CloudAppConfigurationPOJO appConfig); Optional<CloudAppConfigurationPOJO> load(final String appName); Collection<CloudAppConfigurationPOJO> loadAll(); void remove(final String appName);  }