@Test public void shouldConfigureComment() { UniVocityFixedWidthDataFormat dataFormat = new UniVocityFixedWidthDataFormat().setFieldLengths(new int[] {1, 2, 3}).setComment('c'); assertEquals(Character.valueOf('c'), dataFormat.getComment()); assertEquals('c', dataFormat.createAndConfigureWriterSettings().getFormat().getComment()); assertEquals('c', dataFormat.createAndConfigureParserSettings().getFormat().getComment()); }