public void Index_ReturnsCorrectView_True() { WordCountController controller = new WordCountController(); ActionResult indexView = controller.Index(); Assert.IsInstanceOfType(indexView, typeof(ViewResult)); }
public void Index_ReturnsAViewResult_True() { //Arrange WordCountController controller = new WordCountController(); //Act ActionResult indexView = controller.Index(); //Assert Assert.IsInstanceOfType(indexView, typeof(ViewResult)); }