예제 #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);
 }
 @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);
 }