Page page = (Page)method.invoke(tester, new Object[] { cycle });
assertTrue("Page is not an ExceptionErrorPage", page instanceof ExceptionErrorPage);
WebRequestCycle cycle2 = tester.createRequestCycle();
cycle2.setResponse(new StringResponse());
// Render the error page to exercise configureResponse()
page.render();
}
catch (IllegalArgumentException e)
{
throw new RuntimeException(e);
}