use of edu.cornell.kfs.fp.businessobject.AchIncomeFileTransactionTrace in project cu-kfs by CU-CommunityApps.
the class AchIncomeDelimitedFlatFileSpecificationTest method testParseLineIntoObjectAchIncomeFileTransactionTrace.
@Test
public void testParseLineIntoObjectAchIncomeFileTransactionTrace() throws Exception {
AbstractFlatFileObjectSpecification flatFileObjectSpecification = new FlatFilePrefixObjectSpecification();
List<FlatFilePropertySpecification> parseProperties = new ArrayList<>();
setFlatFileProperty(parseProperties, 2, "traceNumber");
flatFileObjectSpecification.setParseProperties(parseProperties);
AchIncomeFileTransactionTrace achIncomeFileTransactionTrace = new AchIncomeFileTransactionTrace();
achIncomeDelimitedFlatFileSpecification.parseLineIntoObject(flatFileObjectSpecification, TRN_LINE, achIncomeFileTransactionTrace, 1);
assertEquals("041036009100170", achIncomeFileTransactionTrace.getTraceNumber());
}
Aggregations