예제 #1
0
        public void HomeController_Login()
        {
            HomeController homeController = new HomeController(_memeberShipService.Object);
            ViewResult     result         = homeController.Login() as ViewResult;

            Assert.IsNotNull(result);
            Assert.AreEqual("Login", result.ViewName);
        }