private void assertClusterHasTypesInBucketSpace(AllClustersBucketSpacesConfig.Cluster cluster,
                                                    String bucketSpace, List<String> expectedTypes) {
        for (String type : expectedTypes) {
            assertNotNull(cluster.documentType(type));
            assertEquals(bucketSpace, cluster.documentType(type).bucketSpace());
        }
    }
Here there is no good choice.
config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java