public void testUnspecified()
{
ActionForward actionForward = new ActionForward();
SimpleDispatchAction actionBean = createMock(SimpleDispatchAction.class);
ActionMapping mapping = createMock(ActionMapping.class);
HttpServletRequest request = createMock(HttpServletRequest.class);
expect(mapping.getParameter()).andReturn("method");
expect(request.getParameter("method")).andReturn(null);
actionBean.unspecified();
expect(actionBean.getSuccessResult()).andReturn("unspecifiedResult");
expect(mapping.findForward("unspecifiedResult")).andReturn(actionForward);
replay(actionBean);
replay(mapping);
replay(request);