public Index ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public ActionResult Index()
{
return View();
}
public void IndexTest() { //Arrange var controller = new AdminCustomerController(new CustomerBLL(new CustomerDALStub()), new LoggingBLL(new LoggingDALStub())); //Act var result = (ViewResult)controller.Index(); //Assert Assert.AreEqual(result.ViewName, ""); }