### Question:
Feature { public Multimap<String, String> getParams() { return params; } private  Feature(String name);  Feature(Element feature); String getName(); Multimap<String, String> getParams(); String getParam(String key); Collection<String> getParamCollection(String key); boolean getRequired(); @Override String toString(); static final Feature CORE_FEATURE; static final Feature SECURITY_TOKEN_FEATURE; }### Answer:
@Test public void testParams() throws Exception { String key = "bar"; String value = "Hello, World!"; String xml = "<Require feature=\"foo\">" + " <Param name=\"" + key + "\">" + value + "</Param>" + "</Require>"; Feature feature = new Feature(XmlUtil.parse(xml)); Multimap<String, String> params = feature.getParams(); assertEquals(1, params.size()); assertEquals(ImmutableList.of(value), params.get(key)); }