*/
public void testNotAuthorized() throws Exception
{
WicketTester tester = new WicketTester();
tester.getApplication().getSecuritySettings().setAuthorizationStrategy(
new RoleAuthorizationStrategy(new UserRolesAuthorizer("USER")));
final class Listener implements IUnauthorizedComponentInstantiationListener
{
private boolean eventReceived = false;
public void onUnauthorizedInstantiation(Component component)