}
@Then("^the system uses the file on the classpath to configure itself$")
public void the_system_uses_the_file_on_the_classpath_to_configure_itself() throws Throwable {
Updater updater = updateSystem.checkForUpdates();
updater.runCheck();
Version latestVersion = updater.getLatestVersion();
assertThat(latestVersion, is(sameVersionAs(new NumericVersion(1, 0, 1))));
}
@Then("^the system uses the file in the working directory to configure itself$")