public void IndexTest() { ConfigureSimpleWordList(); var undertest = new SimpleBoardController(); ActionResult action = undertest.Index(); Assert.AreEqual(typeof(ViewResult), action.GetType()); ViewResult result = action as ViewResult; Assert.IsNotNull(result.Model); Assert.AreEqual(typeof(SuggestionRequestModel), result.Model.GetType()); }