use of org.simpleflatmapper.test.beans.ProfessorC in project SimpleFlatMapper by arnaudroger.
the class CsvMapperJoinTest method testDynamicProfessorC.
@Test
public void testDynamicProfessorC() throws IOException {
final CsvMapperFactory mapperFactory = getCsvMapperFactory();
final List<ProfessorC> professors = mapperFactory.newMapper(ProfessorC.class).forEach(new StringReader(HEADER_DATA), new ListCollector<ProfessorC>()).getList();
JoinTest.validateProfessors(professors);
}
use of org.simpleflatmapper.test.beans.ProfessorC 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