public void TaskList_Index_Returns_ViewResult() { //Arrange TaskListsController controller = new TaskListsController(); //Act var actual = controller.Index(); //Assert Assert.IsInstanceOf<ViewResult>(actual); }
public void TaskList_Index_Returns_ViewResult() { //Arrange TaskListsController controller = new TaskListsController(); //Act ViewResult result = controller.Index() as ViewResult; //Assert Assert.IsNotNull(result); }