public void View() { // Arrange RepositoryController controller = new RepositoryController(); // Act ViewResult result = controller.View(null) as ViewResult; // Assert Assert.IsNull(result); //should fail // Assert.IsNotNull(result); }
public void View() { // Arrange RepositoryController controller = new RepositoryController(); // Act ViewResult result = controller.View(null) as ViewResult; // Assert Assert.IsNull(result); //should fail // Assert.IsNotNull(result); }