### Question:
CloudJobConfigurationService { public void update(final CloudJobConfiguration jobConfig) { regCenter.update(CloudJobConfigurationNode.getRootNodePath(jobConfig.getJobName()), CloudJobConfigurationGsonFactory.toJson(jobConfig)); }  void add(final CloudJobConfiguration jobConfig); void update(final CloudJobConfiguration jobConfig); Collection<CloudJobConfiguration> loadAll(); Optional<CloudJobConfiguration> load(final String jobName); void remove(final String jobName);  }### Answer:
@Test public void assertUpdate() { CloudJobConfiguration jobConfig = CloudJobConfigurationBuilder.createCloudJobConfiguration("test_job"); configService.update(jobConfig); Mockito.verify(regCenter).update("/config/job/test_job", CloudJsonConstants.getJobJson()); }