예제 #1
0
        public void Index_ShouldSuccessfullyReturnViewResult()
        {
            var engine     = new Mock <IViewRenderService>().Object;
            var controller = new EmailTemplateController(engine);

            var result = controller.Index();

            Assert.IsInstanceOfType(result, typeof(ViewResult));
        }