Ejemplo n.º 1
0
        public void IndexViewEqualIndexCshtml()
        {
            ProjectorsController controller = new ProjectorsController();

            ViewResult result = controller.Index() as ViewResult;

            Assert.AreEqual("Index", result.ViewName);
        }
Ejemplo n.º 2
0
        public void IndexViewResultNotNull()
        {
            ProjectorsController controller = new ProjectorsController();

            ViewResult result = controller.Index() as ViewResult;

            Assert.IsNotNull(result);
        }