public void About_Get_AboutView_Empty_ViewNameAbout() { // Arrange var controller = new HomeController( new MockPreferenceRepository(), new MockTruckDataRepository(), new MockCurrentUser()); // Act ViewResult result = controller.About(); // Assert Assert.AreEqual("About", result.ViewName); }
public void About_Get_AboutView_Empty_NotNull() { // Arrange var controller = new HomeController( new MockPreferenceRepository(), new MockTruckDataRepository(), new MockCurrentUser()); // Act ViewResult result = controller.About(); // Assert Assert.IsNotNull(result); }