private static boolean contains(Collection<ChainsConfig.Chains.Phases> phases, String name) {
        for (var phase : phases) {
            if (name.equals(phase.id())) {
                return true;
            }
        }
        return false;
    }
Test of search chains config
<p>TODO: examine the actual values in the configs.</p>

@author Tony Vaagenes
config-model/src/test/java/com/yahoo/vespa/model/container/search/searchchain/SchemaChainsTest.java