private static void validateVespaChain(ChainsConfig.Chains chain) {
        assertNotNull(chain);
        assertEquals("vespa", chain.id());
        assertTrue(chain.phases().isEmpty());
        assertEquals(1, chain.inherits().size());
        assertEquals("native", chain.inherits(0));
        assertEquals(11, chain.components().size());
        assertEquals("com.yahoo.prelude.querytransform.PhrasingSearcher@vespa", chain.components(0));
        assertEquals("com.yahoo.prelude.searcher.FieldCollapsingSearcher@vespa", chain.components(1));
        assertEquals("com.yahoo.search.yql.MinimalQueryInserter@vespa", chain.components(2));
        assertEquals("com.yahoo.search.yql.FieldFilter@vespa", chain.components(3));
        assertEquals("com.yahoo.prelude.searcher.JuniperSearcher@vespa", chain.components(4));
        assertEquals("com.yahoo.prelude.searcher.BlendingSearcher@vespa", chain.components(5));
        assertEquals("com.yahoo.prelude.searcher.PosSearcher@vespa", chain.components(6));
        assertEquals("com.yahoo.prelude.semantics.SemanticSearcher@vespa", chain.components(7));
        assertEquals("com.yahoo.search.grouping.GroupingQueryParser@vespa", chain.components(8));
        assertEquals("com.yahoo.search.querytransform.WeakAndReplacementSearcher@vespa", chain.components(9));
        assertEquals("com.yahoo.search.searchers.OpportunisticWeakAndSearcher@vespa", chain.components(10));
        assertTrue(chain.excludes().isEmpty());
        assertEquals(ChainsConfig.Chains.Type.SEARCH, chain.type());
    }
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