コード例 #1
0
 public void indexWithoutVoiceTest()
 {
     HomeController target = new HomeController(iCommentServices.Object);
     ViewResult actual;
     actual = target.indexWithoutVoice() as ViewResult;
     Assert.AreEqual("index", actual.ViewName);
 }
コード例 #2
0
 public void indexTest()
 {
     HomeController target = new HomeController(iCommentServices.Object);
     ViewResult actual;
     actual = target.logIn() as ViewResult;
     Assert.AreEqual("", actual.ViewName);
 }