public UniVocityFixedDataFormat setFieldLengths(int[] fieldLengths) {
        this.fieldLengths = fieldLengths;
        return this;
    }
@Test
    public void shouldConfigureHeaders() {
        UniVocityFixedDataFormat dataFormat = new UniVocityFixedDataFormat()
                .setFieldLengths(new int[] { 1, 2, 3 })
                .setHeaders(new String[] { "A", "B", "C" });

        assertArrayEquals(new String[] { "A", "B", "C" }, dataFormat.getHeaders());
        assertArrayEquals(new String[] { "A", "B", "C" }, dataFormat.createAndConfigureWriterSettings().getHeaders());
        assertArrayEquals(new String[] { "A", "B", "C" }, dataFormat.createAndConfigureParserSettings().getHeaders());
    }