Exemple #1
0
        public async Task Clean_Should_Call_DataProvider_GetRunners_Method()
        {
            // Act
            await _sut.Clean().ConfigureAwait(false);

            // Assert
            _dataProviderMock.Verify(x => x.GetRunners(It.IsAny <string>(), It.IsAny <bool>(), It.IsAny <DateTime?>(), It.IsAny <DateTime?>(), It.IsAny <CancellationToken>()),
                                     Times.Exactly(2));
        }