public RuntimeOptionsBuilder parse(String... args) {
        return parse(Arrays.asList(args));
    }
@Test
    void handles_null_summary_printer_backward_compatible(LogRecordListener logRecordListener) {
        RuntimeOptions options = parser
                .parse("--plugin", "null_summary", "--glue", "somewhere")
                .build();
        Plugins plugins = new Plugins(new PluginFactory(), options);
        plugins.setEventBusOnEventListenerPlugins(new TimeServiceEventBus(Clock.systemUTC(), UUID::randomUUID));

        assertAll(
            () -> assertThat(logRecordListener.getLogRecords().get(0).getMessage(),
                is("Use '--no-summary' instead of '-p/--plugin null_summary'. '-p/--plugin null_summary' will be removed in a future release.")),
            () -> assertThat(plugins.getPlugins(),
                not(hasItem(plugin("io.cucumber.core.plugin.DefaultSummaryPrinter")))));
    }