use of org.mifos.application.servicefacade.TestSaveCollectionSheetUtils in project head by mifos.
the class ApplyHolidayChangesHelperIntegrationTest method cleanDatabaseTablesAndSetupCustomerTestDataBeforeTest.
@Before
public void cleanDatabaseTablesAndSetupCustomerTestDataBeforeTest() throws Exception {
databaseCleaner.clean();
dateTimeService.setCurrentDateTime(new DateTime().withYear(2010).withMonthOfYear(DateTimeConstants.FEBRUARY).withDayOfMonth(23));
ApplyHolidayChangesTask applyHolidayChangesTask = new ApplyHolidayChangesTask();
applyHolidayChangesHelper = (ApplyHolidayChangesHelper) applyHolidayChangesTask.getTaskHelper();
testSaveCollectionSheetUtils = new TestSaveCollectionSheetUtils();
testCollectionSheetRetrieveSavingsAccountsUtils = new TestCollectionSheetRetrieveSavingsAccountsUtils();
// create center hierarchy with loan and savings and customer accounts.
createCenterHierarchy(dateTimeService.getCurrentJavaDateTime());
StaticHibernateUtil.flushAndClearSession();
}
Aggregations