@Test
    void distributor_max_document_operation_size_config_is_controlled_by_properties() throws Exception {
        int mi = 1024 * 1024;
        assertEquals(-1,      resolveMaxDistributorDocOperationSizeConfig(null)); // defaults to -1
        assertEquals(-1,      resolveMaxDistributorDocOperationSizeConfig(-2));
        assertEquals(-1,      resolveMaxDistributorDocOperationSizeConfig(0));
        assertEquals(100*mi,  resolveMaxDistributorDocOperationSizeConfig(100));
        assertEquals(2047*mi, resolveMaxDistributorDocOperationSizeConfig(2047));
        assertEquals(-1,      resolveMaxDistributorDocOperationSizeConfig(2048));
    }
Here there is no good choice.
config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java