public async Task Should_Call_DataProvider_MarkTaskProcessed_Method() { // Act await _sut.MarkTaskProcessedTime().ConfigureAwait(false); // Assert _dataProviderMock.Verify(x => x.MarkQueueRunnerTaskProcessed(It.IsAny <string>(), It.IsAny <CancellationToken>()), Times.Once()); }