HeaderExtractor implements EnumeratedValuesExtractor { @Override public void setValue(String key, String value) { response.setProperty(key, value); } HeaderExtractor(PortletRequest request,
            PortletResponse response); @Override Enumeration<String> getKeys(); @Override String getValue(String key); @Override Enumeration<String> getValues(String key); @Override void setValue(String key, String value);  }
@Test public void testSetValue() { response.setProperty("name", "value"); replay(request, response); extractor.setValue("name", "value"); verify(request, response); }