void WhenTheUpdateIsPrepared() { _exception = Run.CatchingException(() => _appUpdater.PrepareUpdate(_incorrectPackage)); }
void WhenTheUpdateIsPrepared() { _exception = Run.CatchingException(() => _appUpdater.PrepareUpdate(_oldVersionPackage)); }
void WhenTheUpdateIsPrepared() { _exception = Run.CatchingException(() => _appUpdater.PrepareUpdate(_currentVersionPacakge)); }
void WhenTheUpdateIsPrepared() { _preparedUpdate = _appUpdater.PrepareUpdate(_package); }
void WhenPrepareUpdateIsCalledWithoutProvidingAPackage() { _exception = Run.CatchingException(() => _appUpdater.PrepareUpdate(null)); }