public async Task ThenItShouldUpdatePublisherInRepository(Publisher publisher) { await _manager.UpdatePublishedEventsAsync(publisher, _cancellationToken); _publisherRepositoryMock.Verify(r => r.UpdatePublisherAsync(publisher, _cancellationToken), Times.Once); }