@Test
    void testIllegalArray() {
        assertLineFails("intArr[ int",
                "intArr[ Expected ] to terminate array definition");
    }
Unit tests for DefParser.

@author hmusum
@author gjoranv
configgen/src/test/java/com/yahoo/config/codegen/DefParserTest.java