DelegatingForm form = createStrictMock(DelegatingForm.class);
expect(request.getAttribute(Globals.ERROR_KEY)).andReturn(null);
actionBean.setInputError(false);
form.setBindOutwards(true);
expect(actionBean.execute()).andReturn("success");
expect(mapping.findForward("success")).andReturn(actionForward);
expect(form.getBindOutwards()).andReturn(true);
form.bindOutwards(actionBean);
replay(actionBean);