Пример #1
0
        public void AddListener_ReceivesPauseStatusUpdates()
        {
            _timeService.AddPauseListener(_listener);

            const EPauseStatus newStatus = EPauseStatus.Paused;

            _timeService.SetPauseStatus(EPauseStatus.Paused);

            Assert.AreEqual(newStatus, _listener.UpdatePauseStatusResult);
        }