StateAwareParameterMap implements Map<String, String[]> { @Override public void clear() { responseMap.clear(); } StateAwareParameterMap(Map<String, String[]> requestMap,
            Map<String, String[]> responseMap); @Override void clear(); @Override boolean containsKey(Object key); @Override boolean containsValue(Object value); @Override Set<java.util.Map.Entry<String, String[]>> entrySet(); @Override String[] get(Object key); @Override boolean isEmpty(); @Override Set<String> keySet(); @Override String[] put(String key, String[] value); @Override void putAll(Map<? extends String, ? extends String[]> m); @Override String[] remove(Object key); @Override int size(); @Override Collection<String[]> values();  }
@Test public void testClear() { responseMap.clear(); replay(requestMap, responseMap); map.clear(); verify(requestMap, responseMap); }