Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void Add_ReturnsCorrectView_True() { FoodController controller = new FoodController(); ActionResult addView = controller.Add(1, "apple"); Assert.IsInstanceOfType(addView, typeof(RedirectToActionResult)); }