MessageResources messageResources = createMock(MessageResources.class);
DelegatingForm form = createStrictMock(DelegatingForm.class);
action.setServlet(servlet);
actionBean.preBind();
form.bindInwards(actionBean);
expect(request.getAttribute(Globals.CANCEL_KEY)).andReturn(null);
expect(mapping.getParameter()).andReturn("method");
expect(request.getParameter("method")).andReturn("Insert Stuff Here");
expect(request.getSession(false)).andReturn(session);