public void IndexTest() { // Arrange var controller = new HomeController(); // Act var actionResult = controller.Index(); // Assert Assert.IsNotNull(actionResult); }
public void CompareTest() { // Arrange var controller = new HomeController(); // Act var viewResult = controller.Compare(); // Assert // Assert.AreEqual("expected value", viewModel.SomeProperty); Assert.IsNotNull(viewResult); }
public void SupportTest() { // Arrange var controller = new HomeController(); // Act var viewResult = controller.Support(); var viewModel = viewResult.Model; // Assert // Assert.AreEqual("expected value", viewModel.SomeProperty); Assert.IsNotNull(viewResult); }
public void AboutTest() { // Arrange var controller = new HomeController(); // Act var viewResult = controller.About(); var viewModel = viewResult.Model; // Assert // Assert.AreEqual("expected value", viewModel.SomeProperty); Assert.IsNotNull(viewResult); // Todo: Make assertions, then remove this line }