Ejemplo n.º 1
0
        public void TestDepartmentIndex()
        {
            WebSite.Controllers.AreasController controler = new AreasController();

            var actResult = controler.Index() as ViewResult;

            Assert.That(actResult.ViewName, Is.EqualTo("Index"));
        }
Ejemplo n.º 2
0
 public void TestMethod1()
 {
     AreasController controller = new AreasController();
     ViewResult result = controller.Index() as ViewResult;
     Assert.IsNotNull(result);
 }