VelocityScopeExtractor implements AttributeExtractor { @Override public void removeValue(String name) { context.remove(name); } VelocityScopeExtractor(Context context); @Override void removeValue(String name); @Override Enumeration<String> getKeys(); @Override Object getValue(String key); @Override void setValue(String key, Object value);  }
@Test public void testRemoveValue() { expect(request.remove("key")).andReturn("value"); replay(request); extractor.removeValue("key"); verify(request); }