public RuntimeOptionsBuilder parse(Map<String, String> properties) {
        return parse(properties::get);
    }
@Test
    void should_warn_about_cucumber_options(LogRecordListener logRecordListener) {
        properties.put(Constants.OPTIONS_PROPERTY_NAME, "--help");
        cucumberPropertiesParser.parse(properties).build();
        assertThat(logRecordListener.getLogRecords().get(0).getMessage(), equalTo("" +
                "Passing commandline options via the property 'cucumber.options' is no longer supported. " +
                "Please use individual properties instead. " +
                "See the java doc on io.cucumber.core.options.Constants for details."));
    }