use of edu.cornell.kfs.sys.service.impl.CUMarshalServiceImpl in project cu-kfs by CU-CommunityApps.
the class TestPdpMarshal method setUp.
@Before
public void setUp() throws Exception {
cUMarshalService = new CUMarshalServiceImpl();
batchDirectoryFile = new File(BATCH_DIRECTORY);
batchDirectoryFile.mkdir();
}
use of edu.cornell.kfs.sys.service.impl.CUMarshalServiceImpl in project cu-kfs by CU-CommunityApps.
the class ConcurEventNotificationListDTOTest method setUp.
@Before
public void setUp() throws Exception {
cuMarshalService = new CUMarshalServiceImpl();
xmlFile = new File(EXAMPLE_FILE_NAME);
}
use of edu.cornell.kfs.sys.service.impl.CUMarshalServiceImpl 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