@Test
public void returnsFixedVersionNumberEvenIfALaterVersionIsInstalled() throws Exception {
File versionsFolder = new File(getVersionParent(), "versions");
new File(versionsFolder, "4.0.0").mkdirs();
NumericVersion overriddenVersion = new NumericVersion(3, 3, 1);
UpdateSystem updateSystem = ConfiguredUpdateSystem.loadProperties().andIfTheInstalledVersionIsUnknownUse(overriddenVersion).create();
Version installedVersion = getUpdaterThatHasRun(updateSystem).getInstalledVersion();
assertThat(installedVersion, is(sameVersionAs(overriddenVersion)));
}