protected DerivedConfiguration assertCorrectDeriving(ApplicationBuilder builder, Schema schema, String name) throws IOException {
        DerivedConfiguration derived = derive(name, builder, schema);
        assertCorrectConfigFiles(name);
        return derived;
    }
Asserts config is correctly derived given a builder.
This will fail if the builder contains multiple search definitions.
config-model/src/test/java/com/yahoo/schema/derived/AbstractExportingTestCase.java