Configurator { public void toggleFixedVersion() { toggleStrategy(FixedVersion); } 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 canSwitchToFixedVersion() throws Exception { configurator.toggleFixedVersion(); assertThatItWrites("update.strategy", "FixedVersion"); }