@Test
    void testDerivingMultiStatementIndexing() throws Exception {
        String schema =
                """
                schema doc {

                    document doc {

                        field myString type string {
                            indexing: {
                                "en" | set_language;
                                index | summary;
                            }
                        }
                    }
                }""";
        ApplicationBuilder builder = new ApplicationBuilder(new DeployLoggerStub());
        builder.addSchema(schema);
        var application = builder.build(true);
        var derived = new DerivedConfiguration(application.schemas().get("doc"), application.rankProfileRegistry());
        var ilConfigBuilder = new IlscriptsConfig.Builder();
        derived.getIndexingScript().getConfig(ilConfigBuilder);
        assertEquals("clear_state | guard { input myString | { \"en\" | set_language; tokenize normalize stem:\"BEST\" | index myString | summary myString; }; }",
                     ilConfigBuilder.build().ilscript().get(0).content(0));
    }
Schema tests that don't depend on files.

@author bratseth
config-model/src/test/java/com/yahoo/schema/SchemaTestCase.java