public void GetAllComment() { new CommentRepository().Add(commentOne); new CommentRepository().Add(commentTwo); var retorno = commentController.GetAllComment(); Assert.IsType <OkObjectResult>(retorno); }
public void GetAllComment() { new CommentRepository().Add(commentOne); new CommentRepository().Add(commentTwo); var retorno = commentController.GetAllComment(); Assert.IsType <OkObjectResult>(retorno); }