private ChainsConfig.Chains findChain(String name) {
        for (ChainsConfig.Chains chain : chainsConfig.chains()) {
            if (name.equals(chain.id())) {
                return chain;
            }
        }
        return null;
    }
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