public void ViewTestAbout() { // Arrange HomeController controller = new HomeController(); // Act ViewResult result = controller.About() as ViewResult; // Assert Assert.AreEqual("Your application description page.", result.ViewBag.Message); }
public void ViewTestIndex() { // Arrange HomeController controller = new HomeController(); // Act ViewResult result = controller.Index() as ViewResult; // Assert Assert.IsNotNull(result); }
public void RequestChangeTest() { HomeController controller = new HomeController(); ViewResult result = controller.RequestChange() as ViewResult; Assert.IsNotNull(result); }