Configurator { public void changeFixedVersionLocationTo(String location) { properties.put(UPDATE_FIXED_VERSION_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 setsFixedVersionLocation() throws Exception { configurator.changeFixedVersionLocationTo("./lib"); assertThatItWrites("update.FixedVersion.location", "./lib"); }