In addition to #285.
I'm expecting CsvMappingException when reading csv file
using code
var mapper = new CsvMapper();
var schema = CsvSchema.builder()
.setUseHeader(true).setReorderColumns(true)
.with(CsvReadFeature.FAIL_ON_MISSING_HEADER_COLUMNS) //enabled by default
.addColumn("name").addColumn("age")
.build();
MappingIterator<Map<String, Object>> it = mapper
.readerFor(Map.class)
.with(schema)
.readValues("""
name,agee
Roger,18""");
it.nextValue();
Hovewer, it doesn't throw it, even though the wanted 'age' column is missing.