use of edu.cornell.kfs.fp.businessobject.AchIncomeFileTransactionPremiumReceiverName in project cu-kfs by CU-CommunityApps.
the class AchIncomeDelimitedFlatFileSpecificationTest method testParseLineIntoObjectAchIncomeFileTransactionPremiumReceiverName.
@Test
public void testParseLineIntoObjectAchIncomeFileTransactionPremiumReceiverName() throws Exception {
AbstractFlatFileObjectSpecification flatFileObjectSpecification = new FlatFilePrefixObjectSpecification();
List<FlatFilePropertySpecification> parseProperties = new ArrayList<>();
setFlatFileProperty(parseProperties, 3, "name");
flatFileObjectSpecification.setParseProperties(parseProperties);
AchIncomeFileTransactionPremiumReceiverName achIncomeFileTransactionPremiumReceiverName = new AchIncomeFileTransactionPremiumReceiverName();
achIncomeDelimitedFlatFileSpecification.parseLineIntoObject(flatFileObjectSpecification, NM1_LINE, achIncomeFileTransactionPremiumReceiverName, 1);
assertEquals("PREMIUM RECEIVER NAME", achIncomeFileTransactionPremiumReceiverName.getName());
}
Aggregations