{
BasicDispatchController action = new BasicDispatchController();
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);
expect(actionBean.unspecified()).andReturn("unspecifiedResult");
expect(mapping.findForward("unspecifiedResult")).andReturn(actionForward);
replay(actionBean);
replay(mapping);
replay(request);