private static String createDocumentsSegment(List<String> docTypes) {
        return "<documents>\n" +
                docTypes.stream()
                        .map(type -> "<document type='" + type + "' mode='index'/>")
                        .collect(Collectors.joining("\n")) +
                "</documents>";
    }
NOTE: This test method has the following assumptions about the {@link com.yahoo.vespa.model.VespaModel}:
   1) verbosegc and heapsize in qr-start.def is marked with restart.
   2) {@link com.yahoo.vespa.model.container.Container} class has QrStartConfig listed in its
      {@link com.yahoo.vespa.model.application.validation.RestartConfigs} attribute.
   3) That the config ids for the container services have a specific value.

This test will to a certain degree ensure that the annotations in the VespaModel is correctly applied.
config-model/src/test/java/com/yahoo/vespa/model/application/validation/change/ConfigValueChangeValidatorTest.java