@Test
    @Disabled("Not implemented yet")
    void testInvalidEnum() {
        assertThrows(CodegenRuntimeException.class, () -> {
            DefParser parser = createParser("anEnum enum {A, B, A}\n");
            //parser.validateDef(def);
        });
        //parser.validateDef(def);
    }
Unit tests for DefParser.

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