use of edu.cornell.kfs.sys.batch.JAXBXmlBatchInputFileTypeBase in project cu-kfs by CU-CommunityApps.
the class CreateAccountingDocumentServiceImplTest method buildAccountingXmlDocumentInputFileType.
private JAXBXmlBatchInputFileTypeBase buildAccountingXmlDocumentInputFileType() throws Exception {
JAXBXmlBatchInputFileTypeBase inputFileType = new JAXBXmlBatchInputFileTypeBase();
inputFileType.setDateTimeService(buildMockDateTimeService());
inputFileType.setCuMarshalService(new CUMarshalServiceImpl());
inputFileType.setPojoClass(AccountingXmlDocumentListWrapper.class);
inputFileType.setFileTypeIdentifier("accountingXmlDocumentFileType");
inputFileType.setFileNamePrefix("accountingXmlDocument_");
inputFileType.setTitleKey("accountingXmlDocument");
inputFileType.setFileExtension(StringUtils.substringAfter(CuFPConstants.XML_FILE_EXTENSION, KFSConstants.DELIMITER));
inputFileType.setDirectoryPath(TARGET_TEST_FILE_PATH);
return inputFileType;
}
Aggregations