use of org.simpleflatmapper.csv.CsvMapperFactory in project SimpleFlatMapper by arnaudroger.
the class CsvMapperJoinTest method testDynamicProfessorCSharding.
@Test
public void testDynamicProfessorCSharding() throws IOException {
final CsvMapperFactory mapperFactory = getCsvShardingMapperFactory();
final List<ProfessorC> professors = mapperFactory.newMapper(ProfessorC.class).forEach(new StringReader(HEADER_DATA), new ListCollector<ProfessorC>()).getList();
JoinTest.validateProfessors(professors);
}
Aggregations