private void assertIndexingDocprocEnabled(boolean indexed) {
        String services = "<?xml version='1.0' encoding='UTF-8' ?>" +
                "<services version='1.0'>" +
                "  <container id='default' version='1.0'>" +
                "    <search/>" +
                "  </container>" +
                "  <content id='search' version='1.0'>" +
                "    <redundancy>1</redundancy>" +
                "    <documents>" +
                "      <document type='type1' mode='" + (indexed ? "index" : "streaming") + "'/>" +
                "    </documents>" +
                "  </content>" +
                "</services>";
        VespaModel model = createEnd2EndOneNode(new TestProperties(), services);
        var searchCluster = model.getContentClusters().get("search").getSearch();
        assertEquals("default", searchCluster.getIndexingDocproc().getClusterName("search"));
    }
Here there is no good choice.
config-model/src/test/java/com/yahoo/vespa/model/content/ContentClusterTest.java