Example #1
0
        public void Http500Test()
        {
            ErrorsController controller = new ErrorsController();
            ViewResult       result     = controller.Http500() as ViewResult;

            Assert.IsNotNull(result);
            Assert.IsTrue(result.ViewName.Equals("500"));
        }