AppUpdater.Tests.AutoUpdaterTests.Start_StoppedUpdater_CheckAfterWaitTime C# (CSharp) Method

Start_StoppedUpdater_CheckAfterWaitTime() private method

private Start_StoppedUpdater_CheckAfterWaitTime ( ) : void
return void
        public void Start_StoppedUpdater_CheckAfterWaitTime()
        {
            autoUpdater.SecondsBetweenChecks = 1;

            autoUpdater.Start();
            Thread.Sleep(1500);

            updateManager.AssertWasCalled(x => x.CheckForUpdate(), s => s.Repeat.Twice());
        }