Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void AnswerComment_ShouldCallInsertCommentOnceWhenCommentEntity() { // Arrange string gameKey = "c21"; // Act _commentService.AnswerComment(_comment, gameKey); // Assert _commentRepository.Verify(a => a.Insert(It.IsAny <Comment>()), Times.AtLeastOnce); }