Search in sources :

Example 1 with BatchInputFileServiceImpl

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();
}
Also used : BatchInputFileServiceImpl(org.kuali.kfs.sys.batch.service.impl.BatchInputFileServiceImpl) ConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService) Before(org.junit.Before)

Example 2 with BatchInputFileServiceImpl

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());
}
Also used : EmailServiceImpl(org.kuali.kfs.sys.service.impl.EmailServiceImpl) MockParameterServiceImpl(edu.cornell.kfs.sys.service.mock.MockParameterServiceImpl) BatchInputFileServiceImpl(org.kuali.kfs.sys.batch.service.impl.BatchInputFileServiceImpl) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)2 BatchInputFileServiceImpl (org.kuali.kfs.sys.batch.service.impl.BatchInputFileServiceImpl)2 MockParameterServiceImpl (edu.cornell.kfs.sys.service.mock.MockParameterServiceImpl)1 EmailServiceImpl (org.kuali.kfs.sys.service.impl.EmailServiceImpl)1 ConfigurationService (org.kuali.rice.core.api.config.property.ConfigurationService)1