resolver = ajaxExceptionHandler.lookupExceptionHandler(new UnsupportedEventException("exception"));
assertNotNull(resolver);
assertTrue(resolver instanceof RedirectExceptionHandler);
assertEquals("/test/redirect1.html", ((RedirectExceptionHandler) resolver).getRedirectUrl());
resolver = ajaxExceptionHandler.lookupExceptionHandler(new EventHandlingException("exception"));
assertNotNull(resolver);
assertTrue(resolver instanceof RedirectExceptionHandler);
assertEquals("/test/redirect2.html", ((RedirectExceptionHandler) resolver).getRedirectUrl());
}