@Test
    void requireThatParserHandlesLexicalError() throws Exception {
        try {
            ApplicationBuilder.buildFromFile("src/test/examples/invalid_sd_lexical_error.sd");
        } catch (IllegalArgumentException e) {
            assertTrue(Exceptions.toMessageString(e).contains("at line 7, column 27."));
        }
    }
Tests that search definitions are parsed correctly and that correct line number is reported in
error message.

@author hmusum
config-model/src/test/java/com/yahoo/schema/SchemaParsingTestCase.java