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