Plugin create(Options.Plugin plugin) {
        try {
            return instantiate(plugin.pluginString(), plugin.pluginClass(), plugin.argument());
        } catch (IOException | URISyntaxException e) {
            throw new CucumberException(e);
        }
    }
@Test
    void fails_to_instantiates_html_plugin_with_dir_arg() {
        PluginOption option = parse("html:" + tmp.toAbsolutePath());
        assertThrows(IllegalArgumentException.class, () -> fc.create(option));
    }