@Test
public void test121() throws Exception {
byte[] buffer;
ByteArrayOutputStream stream = new ByteArrayOutputStream();
CsvWriter writer = new CsvWriter(stream, ',', Charset
.forName("ISO-8859-1"));
writer.writeRecord(new String[] { " 1 ", "2" }, false);
writer.writeRecord(new String[] { " 1 ", "2" });
writer.writeRecord(new String[] { " 1 ", "2" }, true);
writer.writeRecord(new String[0], true);
writer.writeRecord(null, true);
writer.close();
buffer = stream.toByteArray();
stream.close();
String data = Charset.forName("ISO-8859-1").decode(