public void indexWithoutVoiceTest() { HomeController target = new HomeController(iCommentServices.Object); ViewResult actual; actual = target.indexWithoutVoice() as ViewResult; Assert.AreEqual("index", actual.ViewName); }
public void indexTest() { HomeController target = new HomeController(iCommentServices.Object); ViewResult actual; actual = target.logIn() as ViewResult; Assert.AreEqual("", actual.ViewName); }