@Test
    void distribution_key_not_much_higher_than_node_count_does_not_log_deployment_warning() {
        String warnings = createClusterAndGetDeploymentWarnings(clusterXmlWithNodeDistributionKey(100));
        assertEquals(warnings, "");
    }
Here there is no good choice.
config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java