public async Task SetLastTestCycleIntervalsAsync()
        {
            // Arrange
            var expectedTimeSpan = new TimeSpan(2, 40, 42);
            var expectedStatus   = MonitorStatus.OK;

            var monitor = new NcMonitor
            {
                LastTestCycleInterval = It.IsAny <TimeSpan>(),
                StatusId = (int)expectedStatus,
            };

            var monitorRepo = new Mock <IMonitorRepository>();

            IMonitorManager monitorManager = new MonitorManager(
                It.IsAny <IChannelRepository>(),
                monitorRepo.Object,
                It.IsAny <IRecordRepository>(),
                It.IsAny <IScenarioRepository>());

            // Act
            await monitorManager.SetLastTestCycleIntervalsAsync(
                monitor, expectedTimeSpan);// TimeSpan je struct, neni potreba vytvaret novou referenci

            // Assert
            monitorRepo.Verify(x => x.UpdateAsyncWithoutResetTestCycleInterval(monitor), Times.Once());
            Assert.Equal(expectedTimeSpan, monitor.LastTestCycleInterval);
            Assert.Equal(expectedStatus, monitor.StatusEnum());
        }