private Components getSearcherConfig(List<Components> searchers, String partOfId) {
        for (Components searcher : searchers) {
            if (searcher.id().contains(partOfId))
                return searcher;
        }
        fail("No searcher matching " + partOfId);
        return null;
    }
Test of Search chains builder.

@author Tony Vaagenes
config-model/src/test/java/com/yahoo/vespa/model/builder/xml/dom/chains/search/DomSchemaChainsBuilderTest.java