void WhenLaunchInstalledUpdateIsCalled() { _returnedInstalledUpdate = _appUpdater.LaunchInstalledUpdate(_installedUpdate); }
void WhenThePreparedUpdateIsApplied() { _installedUpdated = _appUpdater.ApplyPreparedUpdate(_preparedUpdate); }
void AndGivenAnInstalledUpdate() { _installedUpdate = new InstalledUpdate(_installedVersion, new Version(2, 0)); }
void GivenANullInstalledUpdate() { _installedUpdate = default(InstalledUpdate); }
void WhenAttemptingToCreateAnInstalledUpdateWithThoseVersions() { _installedUpdate = new InstalledUpdate(_oldVersion, _newVersion); }
static void Quit(InstalledUpdate installedUpdate) { Environment.Exit(0); }