@Test
    void search_model_is_connected_to_container_clusters_two_content_clusters() {
        String vespaHosts = """
                            <?xml version='1.0' encoding='utf-8' ?>
                            <hosts>
                              <host name='node0host'>
                                <alias>node0</alias>
                              </host>
                              <host name='node1host'>
                                <alias>node1</alias>
                              </host>
                              <host name='node2host'>
                                <alias>node2</alias>
                              </host>
                            </hosts>
                            """;

        String services =
                """
                <?xml version="1.0" encoding="utf-8" ?>
                <services version="1.0">
                  <admin version='2.0'>
                    <adminserver hostalias='node0' />
                  </admin>
                  <container version='1.0' id='j1'>
                    <search>
                      <chain id='s1Chain'>
                        <searcher id='S1ClusterSearcher'/>
                      </chain>
                      <provider cluster='normal' id='normal' type='local'/>
                    </search>
                    <nodes>
                      <node hostalias="node0" />
                    </nodes>
                  </container>
                  <container version='1.0' id='j2'>
                    <search>
                      <chain id='s2Chain'>
                        <searcher id='S2ClusterSearcher'/>
                      </chain>
                      <provider cluster='xbulk' id='xbulk' type='local'/>
                    </search>
                    <nodes>
                      <node hostalias="node2" />
                    </nodes>
                  </container>
                  <content id='xbulk' version="1.0">
                     <redundancy>2</redundancy>
                     <documents>
                       <document mode='index' type="music" />
                     </documents>
                     <nodes>
                       <node hostalias="node0" distribution-key="0" />
                     </nodes>
                  </content>
                  <content id="normal" version='1.0'>
                     <redundancy>2</redundancy>
                     <documents>
                       <document mode='index' type="music" />
                     </documents>
                     <nodes>
                       <node hostalias="node2" distribution-key="0" />
                     </nodes>
                  </content>
                </services>
                """;

        VespaModel model = new VespaModelCreatorWithMockPkg(vespaHosts, services, ApplicationPackageUtils.generateSchemas("music")).create();

        ContainerCluster containerCluster1 = (ContainerCluster) model.getConfigProducer("j1").get();
        assertFalse(containerCluster1.getSearch().getChains().localProviders().isEmpty());

        ContainerCluster containerCluster2 = (ContainerCluster) model.getConfigProducer("j2").get();
        assertFalse(containerCluster2.getSearch().getChains().localProviders().isEmpty());

        QrSearchersConfig.Builder builder = new QrSearchersConfig.Builder();
        containerCluster1.getConfig(builder);
        QrSearchersConfig config = new QrSearchersConfig(builder);

        assertEquals(2, config.searchcluster().size());
        int normalIndex = 0;
        int xbulkIndex = 1;
        assertEquals("normal", config.searchcluster().get(normalIndex).name());
        assertEquals("xbulk", config.searchcluster().get(xbulkIndex).name());

        ClusterConfig.Builder clusterConfigBuilder = new ClusterConfig.Builder();
        model.getConfig(clusterConfigBuilder, "j1/searchchains/chain/normal/component/com.yahoo.prelude.cluster.ClusterSearcher");
        ClusterConfig clusterConfig = new ClusterConfig(clusterConfigBuilder);
        assertEquals("normal", clusterConfig.clusterName());

        ClusterConfig.Builder clusterConfigBuilder2 = new ClusterConfig.Builder();
        model.getConfig(clusterConfigBuilder2, "j2/searchchains/chain/xbulk/component/com.yahoo.prelude.cluster.ClusterSearcher");
        ClusterConfig clusterConfig2 = new ClusterConfig(clusterConfigBuilder2);
        assertEquals("xbulk", clusterConfig2.clusterName());

        SearchCluster searchCluster1 = model.getSearchClusters().get(normalIndex);
        assertEquals("normal", searchCluster1.getClusterName());
        assertEquals("normal/search/cluster.normal", searchCluster1.getConfigId());
        SearchCluster searchCluster2 = model.getSearchClusters().get(xbulkIndex);
        assertEquals("xbulk", searchCluster2.getClusterName());

        verifyDispatch(model, containerCluster1, "normal", "node2host");
        verifyDispatch(model, containerCluster1, "xbulk", "node0host");
    }
Unit tests for SearchCluster. Please use this instead of SearchModelTestCase if possible and
write _unit_ tests. Thanks.

@author hmusum
config-model/src/test/java/com/yahoo/vespa/model/search/test/SchemaClusterTest.java