예제 #1
0
        public void ProbarEstilos()
        {
            var controller = new PreguntasController();
            var result     = controller.Estilos() as ViewResult;

            Assert.AreEqual("Estilos", result.ViewName);
        }
예제 #2
0
        public void EstilosNoNula()
        {
            PreguntasController preguntas = new PreguntasController();

            ViewResult result = preguntas.Estilos() as ViewResult;

            Assert.IsNotNull(result);
        }