Beispiel #1
0
        public void Render_Deny_Minimal()
        {
            CustomValidatorTest unit = new CustomValidatorTest();

            unit.Render();
            // note: this is a failing security check on reflection,
            // the SecurityException is the InnerException of the
            // TargetInvocationException
        }
Beispiel #2
0
        public void Render_PermitOnly_Minimal()
        {
            CustomValidatorTest unit = new CustomValidatorTest();

            unit.Render();
        }