Пример #1
0
 private LoanBO getLoanAccount(
     final AccountState state,
     final Date startDate,
     final int disbursalType,
     final LoanOfferingBO loanOfferingBO) {
   return TestObjectFactory.createLoanAccountWithDisbursement(
       "99999999999", client, state, startDate, loanOfferingBO, disbursalType);
 }
 private AccountBO getLoanAccount(AccountState state, Date startDate, int disbursalType) {
   MeetingBO meeting = TestObjectFactory.createMeeting(TestObjectFactory.getTypicalMeeting());
   center =
       TestObjectFactory.createWeeklyFeeCenter(
           this.getClass().getSimpleName() + " Center", meeting);
   group =
       TestObjectFactory.createWeeklyFeeGroupUnderCenter(
           this.getClass().getSimpleName() + " Group", CustomerStatus.GROUP_ACTIVE, center);
   LoanOfferingBO loanOffering =
       TestObjectFactory.createLoanOffering(
           this.getClass().getSimpleName() + " LOAN", "L", startDate, meeting);
   return TestObjectFactory.createLoanAccountWithDisbursement(
       "99999999999", group, state, startDate, loanOffering, disbursalType);
 }