public class CsvToKeyValueMapperTest {
@Test
public void testCsvLineParser() throws IOException {
CsvToKeyValueMapper.CsvLineParser lineParser = new CsvToKeyValueMapper.CsvLineParser(';');
CSVRecord parsed = lineParser.parse("one;two");
assertEquals("one", parsed.get(0));
assertEquals("two", parsed.get(1));
assertTrue(parsed.isConsistent());
assertEquals(1, parsed.getRecordNumber());
}