Ejemplo n.º 1
0
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   userContext = TestObjectFactory.getContext();
   request.getSession().setAttribute(Constants.USERCONTEXT, userContext);
   addRequestParameter("recordLoanOfficerId", "1");
   addRequestParameter("recordOfficeId", "1");
   ActivityContext ac = TestObjectFactory.getActivityContext();
   request.getSession(false).setAttribute("ActivityContext", ac);
   flowKey = createFlow(request, FundAction.class);
 }
Ejemplo n.º 2
0
 @Before
 public void setUp() throws Exception {
   userContext = TestObjectFactory.getContext();
   request.getSession().setAttribute(Constants.USERCONTEXT, userContext);
   addRequestParameter("recordLoanOfficerId", "1");
   addRequestParameter("recordOfficeId", "1");
   request
       .getSession(false)
       .setAttribute("ActivityContext", TestObjectFactory.getActivityContext());
   flowKey = createFlow(request, AccountStatusAction.class);
 }