private void assertClusterHasBucketSpaceMappings(AllClustersBucketSpacesConfig config, String clusterId,
                                                     List<String> defaultSpaceTypes, List<String> globalSpaceTypes) {
        AllClustersBucketSpacesConfig.Cluster cluster = config.cluster(clusterId);
        assertNotNull(cluster);
        assertEquals(defaultSpaceTypes.size() + globalSpaceTypes.size(), cluster.documentType().size());
        assertClusterHasTypesInBucketSpace(cluster, "default", defaultSpaceTypes);
        assertClusterHasTypesInBucketSpace(cluster, "global", globalSpaceTypes);
    }
Here there is no good choice.
config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java