@Test
    void testInvalidType() {
        String line = "a sting";
        assertLineFails(line, "Could not create sting a");
    }
Unit tests for DefParser.

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