public void Index() { // Arrange HomeController controller = new HomeController(); // Act ViewResult result = controller.Index() as ViewResult; // Assert Assert.IsNotNull(result); }
public void Contact() { // Arrange HomeController controller = new HomeController(); // Act // todo - I commented the below line out in order to get contact forms working //ViewResult result = controller.Contact() as ViewResult; // Assert // todo - I commented the below line out in order to get contact forms working //Assert.IsNotNull(result); }