public void PermitOnly_ControlPrincipal () { LoginTest unit = new LoginTest (); try { unit.OnBubbleEvent (); unit.OnAuthenticate_False (); } catch (TypeInitializationException) { // ms 2.0 - depending on the test run-order the HttpRuntime may throw } }
public void OnAuthenticate_False_Deny_ControlPrincipal () { LoginTest unit = new LoginTest (); unit.OnAuthenticate_False (); }