OptionsHelper implements Customizable { public void removeOption(String name) { if (name == null) throw new IllegalArgumentException("Option name must not be null"); options.remove(name); }  void setOption(String name, String value); void setOption(String name, String value, Environment environment); void removeOption(String name); boolean hasOption(String name); String[] getOptionNames(); String getOptionValue(String name); String getOptionValue(String name, String defaultValue); String[] getOptionValues(String name); Map<String, Map<Environment, List<String>>> getOptions(); static OptionsHelper fromXml(Node config); void setEnvironment(Environment environment); static OptionsHelper fromXml(Node config, XPath xpathProcessor); static void fromXml(Node config, Customizable customizable,
      XPath xpathProcessor); String toXml();  }
@Test public void testRemoveOption() { options.removeOption(optionKey); assertEquals(2, options.getOptions().size()); assertFalse(options.hasOption(optionKey)); }