@Test
    void testParseIntArray() {
        DefLine l = new DefLine("foo[] int");

        assertEquals("foo[]", l.getName());
        assertNull(l.getDefault());
        assertEquals("int", l.getType().getName());
    }
Tests parsing of a single line of a .def file

@author bratseth
@author gjoranv
configgen/src/test/java/com/yahoo/config/codegen/DefLineParsingTest.java