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