try {
stream = new ByteArrayInputStream(csv.getBytes(CSVFile.LATIN1_CHARSET.toString()));
} catch (UnsupportedEncodingException e) {
fail("unsupported encoding");
}
csvFile = new CSVFile(stream, CSVFile.LATIN1_CHARSET);
int row = 0 ;
for (String[] items : csvFile) {
if (row == 0) {
assertEquals("def", items[1]);
} else if (row == 1) {