Configurator { public void setRepositoryLocationForLatestVersionTo(String location) { properties.put(UPDATE_LATEST_VERSION_REPOSITORY_LOCATION, location); } Configurator();  Configurator(Properties properties); void saveConfiguration(); void setApplicationNameTo(String name); void toggleFixedVersion(); void toggleLatestVersion(); void changeFixedVersionLocationTo(String location); void toggleHttpRepositoryForLatestVersion(); void toggleFileRepositoryForLatestVersion(); void setRepositoryLocationForLatestVersionTo(String location);  }
@Test public void setsRepositoryLocation() throws Exception { configurator.setRepositoryLocationForLatestVersionTo("./repo"); assertThatItWrites("update.LatestVersion.repository.location", "./repo"); }