private static void validateNativeChain(ChainsConfig.Chains chain) {
        assertNotNull(chain);
        assertEquals("native", chain.id());
        assertTrue(chain.phases().isEmpty());
        assertEquals(1, chain.inherits().size());
        assertEquals("vespaPhases", chain.inherits(0));
        assertEquals(2, chain.components().size());
        assertEquals("federation@native", chain.components(0));
        assertEquals("com.yahoo.prelude.statistics.StatisticsSearcher@native", chain.components(1));
        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