Example #1
0
        public void ProbarPreguntaSiNo()
        {
            var controller = new PreguntasController();
            var result     = controller.PreguntaSiNo() as ViewResult;

            Assert.AreEqual("PreguntaSiNo", result.ViewName);
        }
Example #2
0
        public void PreguntaSiNoNulo()
        {
            PreguntasController preguntas = new PreguntasController();

            ViewResult result = preguntas.PreguntaSiNo() as ViewResult;

            Assert.IsNotNull(result);
        }