public void Start_StoppedUpdater_CheckAfterWaitTime() { autoUpdater.SecondsBetweenChecks = 1; autoUpdater.Start(); Thread.Sleep(1500); updateManager.AssertWasCalled(x => x.CheckForUpdate(), s => s.Repeat.Twice()); }