Exemple #1
0
        public async Task StartingTimerStartsTheCountdown()
        {
            using var mobo = new Mobo();
            mobo.StartTheTimer(CountDownTimer.Default);
            await mobo.CountDownIsRunning();

            mobo.TimerCantBeStarted();
            mobo.TimerCantBeResumed();
        }
Exemple #2
0
        public async Task PausingTheTimerPausesTheCountdown()
        {
            using var mobo = new Mobo();
            mobo.StartTheTimer(CountDownTimer.Default);
            mobo.PauseTimer();
            await mobo.CountDownIsPaused();

            mobo.TimerCantBeStarted();
            mobo.TimerCantBePaused();
            mobo.TimerCanBeStarted();
        }