ActionForward actionForward = new ActionForward();
BasicAction actionBean = createMock(BasicAction.class);
ActionMapping mapping = createMock(ActionMapping.class);
expect(actionBean.execute()).andReturn("success");
expect(mapping.findForward("success")).andReturn(actionForward);
replay(actionBean);
replay(mapping);