@Test
    void requireIndexedOnlyServices() {
        VespaModel model = getIndexedVespaModel();
        // TODO
        // HostResource h = model.getHostSystem().getHosts().get(0);
        // String [] expectedServices = {"logserver", "configserver", "adminserver", "slobrok",
        //                               "logd", "configproxy","config-sentinel",
        //                               "container", "fleetcontroller",
        //                               "storagenode", "searchnode", "distributor"};
        // DomContentBuilderTest.assertServices(h, expectedServices);
        Routing routing = model.getRouting();
        assertNotNull(routing);
        assertEquals("[]", routing.getErrors().toString());
        assertEquals(1, routing.getProtocols().size());
        DocumentProtocol protocol = (DocumentProtocol) routing.getProtocols().get(0);
        RoutingTableSpec spec = protocol.getRoutingTableSpec();
        assertEquals(2, spec.getNumHops());

        assertEquals("container/chain.indexing", spec.getHop(0).getName());
        assertEquals("indexing", spec.getHop(1).getName());

        assertRoute(spec.getRoute(0), "default", "indexing");
        assertRoute(spec.getRoute(1), "default-get", "[Content:cluster=test]");
        assertRoute(spec.getRoute(2), "storage/cluster.test", "route:test");
        assertRoute(spec.getRoute(3), "test", "[MessageType:test]");
        assertRoute(spec.getRoute(4), "test-direct", "[Content:cluster=test]");
        assertRoute(spec.getRoute(5), "test-index", "container/chain.indexing", "[Content:cluster=test]");
    }
Test for using the content model to create indexed search clusters.
config-model/src/test/java/com/yahoo/vespa/model/content/IndexedTest.java