BasicSubmitController action = new BasicSubmitController();
ActionForward actionForward = new ActionForward();
BasicSubmitAction actionBean = createStrictMock(BasicSubmitAction.class);
ActionMapping mapping = createStrictMock(ActionMapping.class);
BasicActionForm form = createStrictMock(BasicActionForm.class);
HttpServletRequest request = createStrictMock(HttpServletRequest.class);
expect(request.getAttribute(Globals.CANCEL_KEY)).andReturn(Boolean.TRUE);
expect(actionBean.cancel()).andReturn("success");
expect(mapping.findForward("success")).andReturn(actionForward);