Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void CreateUserReviewTestValidModel_ReturnsCreatedAtRoute() { controller.ModelState.Clear(); IActionResult actionResult = controller.CreateUserReview(new ReviewInputModel(), 1, 2); Assert.IsInstanceOfType(actionResult, typeof(CreatedAtRouteResult)); }