use of edu.cornell.kfs.fp.businessobject.AchIncomeFileTransactionPremiumPayersAdminsContact in project cu-kfs by CU-CommunityApps.
the class AchIncomeDelimitedFlatFileSpecificationTest method testParseLineIntoObjectAchIncomeFileTransactionPremiumPayersAdminsContact.
@Test
public void testParseLineIntoObjectAchIncomeFileTransactionPremiumPayersAdminsContact() throws Exception {
AbstractFlatFileObjectSpecification flatFileObjectSpecification = new FlatFilePrefixObjectSpecification();
List<FlatFilePropertySpecification> parseProperties = new ArrayList<>();
setFlatFileProperty(parseProperties, 2, "name");
flatFileObjectSpecification.setParseProperties(parseProperties);
AchIncomeFileTransactionPremiumPayersAdminsContact achIncomeFileTransactionPremiumPayersAdminsContact = new AchIncomeFileTransactionPremiumPayersAdminsContact();
achIncomeDelimitedFlatFileSpecification.parseLineIntoObject(flatFileObjectSpecification, PER_LINE, achIncomeFileTransactionPremiumPayersAdminsContact, 1);
assertEquals("JOHN SMITH", achIncomeFileTransactionPremiumPayersAdminsContact.getName());
}
Aggregations