public async Task UpdateTopic_ServiceInvoke() { //Act await _topicController.UpdateTopic(It.IsAny <Guid>(), It.IsAny <TopicDto>()); //Assert _topicServiceMock.Verify(s => s.UpdateTopic(It.IsAny <Guid>(), It.IsAny <TopicDto>())); }
public async Task UpdateTopic_ServiceInvoke() { //Act await _topicController.UpdateTopic(It.IsAny <Guid>(), It.IsAny <TopicDto>()); //Assert _topicServiceMock.Verify(s => s.UpdateTopic(It.IsAny <Guid>(), It.IsAny <TopicDto>())); }