private static void assertReindexingMaintainerConfiguredOnClusterController(ClusterControllerContainerCluster clusterControllerCluster) {
        ClusterControllerContainer container = clusterControllerCluster.getContainers().get(0);
        Component<?, ?> reindexingMaintainer = container.getComponents().getComponents().stream()
                .filter(component -> component.getComponentId().getName().equals("reindexing-maintainer"))
                .findAny()
                .get();
        assertEquals("ai.vespa.reindexing.ReindexingMaintainer", reindexingMaintainer.getClassId().getName());
    }
Test for creating cluster controllers under the admin tag.
config-model/src/test/java/com/yahoo/vespa/model/admin/ClusterControllerTestCase.java