private void verifyDispatch(VespaModel model, ContainerCluster containerCluster, String cluster, String host) {
        Component<?,?> dispatcher = (Component<?, ?>)containerCluster.getComponentsMap().get(new ComponentId("dispatcher." + cluster));
        assertNotNull(dispatcher);
        assertEquals("dispatcher." + cluster, dispatcher.getComponentId().stringValue());
        assertEquals(ReconfigurableDispatcher.class.getName(), dispatcher.getClassId().stringValue());
        assertEquals("j1/component/dispatcher." + cluster, dispatcher.getConfigId());
        DispatchNodesConfig.Builder dispatchConfigBuilder = new DispatchNodesConfig.Builder();
        model.getConfig(dispatchConfigBuilder, dispatcher.getConfigId());
        assertEquals(host, dispatchConfigBuilder.build().node(0).host());
    }
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