use of org.kuali.kfs.sys.batch.service.impl.BatchInputFileServiceImpl in project cu-kfs by CU-CommunityApps.
the class CreateAccountingDocumentServiceImplTest method setUp.
@Before
public void setUp() throws Exception {
ConfigurationService configurationService = buildMockConfigurationService();
createAccountingDocumentService = new TestCreateAccountingDocumentServiceImpl(buildMockPersonService(), buildAccountingXmlDocumentDownloadAttachmentService(), configurationService);
createAccountingDocumentService.initializeDocumentGeneratorsFromMappings(AccountingDocumentMapping.DI_DOCUMENT, AccountingDocumentMapping.IB_DOCUMENT);
createAccountingDocumentService.setAccountingDocumentBatchInputFileType(buildAccountingXmlDocumentInputFileType());
createAccountingDocumentService.setBatchInputFileService(new BatchInputFileServiceImpl());
createAccountingDocumentService.setFileStorageService(buildFileStorageService());
createAccountingDocumentService.setConfigurationService(configurationService);
createAccountingDocumentService.setDocumentService(buildMockDocumentService());
createAccountingDocumentService.setCreateAccountingDocumentReportService(new TestCreateAccountingDocumentReportService());
createAccountingDocumentService.setParameterService(buildParameterService());
routedAccountingDocuments = new ArrayList<>();
creationOrderedBaseFileNames = new ArrayList<>();
createTargetTestDirectory();
}
use of org.kuali.kfs.sys.batch.service.impl.BatchInputFileServiceImpl in project cu-kfs by CU-CommunityApps.
the class PayeeACHAccountExtractServiceImplTest method setUp.
@Before
public void setUp() throws Exception {
payeeACHAccountExtractService = new TestPayeeACHAccountExtractService();
payeeACHAccountExtractService.setBatchInputFileService(new BatchInputFileServiceImpl());
payeeACHAccountExtractService.setBatchInputFileTypes(Collections.<BatchInputFileType>singletonList(getBatchInputFileType()));
payeeACHAccountExtractService.setParameterService(new MockParameterServiceImpl());
payeeACHAccountExtractService.setEmailService(new EmailServiceImpl());
payeeACHAccountExtractService.setDocumentService(createMockDocumentService());
payeeACHAccountExtractService.setDataDictionaryService(createMockDataDictionaryService());
payeeACHAccountExtractService.setPersonService(createMockPersonService());
payeeACHAccountExtractService.setSequenceAccessorService(new MockSequenceAccessorService());
payeeACHAccountExtractService.setAchService(createMockAchService());
payeeACHAccountExtractService.setAchBankService(createMockAchBankService());
}
Aggregations