public void testIllegalArgumentExceptionInUnmappedHandler() throws Exception {
MockRenderRequest request = new MockRenderRequest();
request.setPortletMode(PortletMode.HELP);
request.addParameter("myParam", "exception2");
request.addParameter("unknown", "");
MockRenderResponse response = new MockRenderResponse();
complexDispatcherPortlet.doDispatch(request, response);
InternalResourceView view = (InternalResourceView) request.getAttribute(ViewRendererServlet.VIEW_ATTRIBUTE);
assertEquals("failed-default-1", view.getBeanName());
}