Beispiel #1
0
        public void ProbarPreguntaEscalar()
        {
            var controller = new PreguntasController();
            var result     = controller.PreguntaEscalar() as ViewResult;

            Assert.AreEqual("PreguntaEscalar", result.ViewName);
        }
Beispiel #2
0
        public void PreguntaEscalarNoNulo()
        {
            PreguntasController preguntas = new PreguntasController();

            ViewResult result = preguntas.PreguntaEscalar() as ViewResult;

            Assert.IsNotNull(result);
        }