@Test
public void testGetRecords() throws IOException {

    final CSVParser parser = CSVParser.parse(CSVINPUT, CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(true));
    final List<CSVRecord> records = parser.getRecords();
    assertEquals(RESULT.length, records.size());
    assertTrue(records.size() > 0);
    for (int i = 0; i < RESULT.length; i++) {
        assertArrayEquals(RESULT[i], records.get(i).values());
    }
}