public void Contact() { // Arrange HomeController controller = new HomeController(); // Act ViewResult result = controller.Contact() as ViewResult; // Assert Assert.IsNotNull(result); }
public void Contact() { // Disponer HomeController controller = new HomeController(); // Actuar ViewResult result = controller.Contact() as ViewResult; // Declarar Assert.IsNotNull(result); }