@Test @Ignore public void testStartWithEmptyLinesThenHeaders() throws Exception {
final String[] codes={"\r\n\r\n\r\nhello,\r\n\r\n\r\n","hello,\n\n\n","hello,\"\"\r\n\r\n\r\n","hello,\"\"\n\n\n"};
final String[][] res={{"hello",""},{""},{""}};
for ( final String code : codes) {
final CSVParser parser=CSVParser.parse(code,CSVFormat.EXCEL);
final List records=parser.getRecords();
assertEquals(res.length,records.size());
assertTrue(records.size() > 0);
for (int i=0; i < res.length; i++) {
assertArrayEquals(res[i],records.get(i).values());
}
parser.close();
}
}