示例#1
0
        public void ForbiddenActionMethod()
        {
            ExampleController controller = new ExampleController();
            StatusCodeResult  result     = controller.Index4();

            Assert.Equal(403, result.StatusCode);
        }