Пример #1
0
        public void Http403Test()
        {
            ErrorsController controller = new ErrorsController();
            ViewResult       result     = controller.Http403() as ViewResult;

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