    @Test
    public void writeToNullOrEmpty() {

        assertTrue(StringWritableCsv.writeTo(new StringBuffer()).length() == 0);
        assertTrue(StringWritableCsv.writeTo(new StringBuffer(), new CharAttributeValue[]{}).length() == 0);
    }