Пример #1
0
        public void ProbarCrearBase()
        {
            var controller = new PreguntasController();
            var result     = controller.CreateBase() as PartialViewResult;

            Assert.AreEqual("Create", result.ViewName);
        }
Пример #2
0
        public void CrearBaseNoNulo()
        {
            PreguntasController preguntas = new PreguntasController();

            PartialViewResult result = preguntas.CreateBase() as PartialViewResult;

            Assert.IsNotNull(result);
        }