public async Task ThenItShouldDownloadProvidersFromDataSource()
        {
            await _changeProcessor.ProcessChangesAsync(_cancellationToken);

            _roatpDataSourceMock.Verify(source => source.GetDataAsync(_cancellationToken),
                                        Times.Once);
        }
Ejemplo n.º 2
0
        public async Task ThenItShouldGetLastTimeUkrlpWasCheckedForChange()
        {
            await _changeProcessor.ProcessChangesAsync(_cancellationToken);

            _stateStoreMock.Verify(store => store.GetStateAsync("LastChecked", _cancellationToken),
                                   Times.Once);
        }