### Question:
FunctionListMap implements DisposableMap<K, V> { @Override public boolean containsValue(Object value) { return delegate.containsValue(value); } FunctionListMap(EventList<V> source, FunctionList.Function<V, K> keyFunction); @Override void dispose(); @Override int size(); @Override boolean isEmpty(); @Override boolean containsKey(Object key); @Override boolean containsValue(Object value); @Override V get(Object key); @Override V put(K key, V value); @Override void putAll(Map<? extends K, ? extends V> m); @Override void clear(); @Override V remove(Object key); @Override Collection<V> values(); @Override Set<K> keySet(); @Override Set<Entry<K, V>> entrySet(); @Override void forEach(BiConsumer<? super K, ? super V> action); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testContainsValue() { final EventList<String> source = new BasicEventList<>(); final Map<String, String> eventMap = GlazedLists.syncEventListToMap(source, new FirstLetterFunction()); assertEquals(null, eventMap.get("J")); source.add("James"); assertEquals(1, eventMap.size()); assertTrue(eventMap.containsValue("James")); source.add("Lemieux"); assertEquals(2, eventMap.size()); assertTrue(eventMap.containsValue("James")); assertTrue(eventMap.containsValue("Lemieux")); assertFalse(eventMap.containsValue("Holger")); source.addAll(GlazedListsTests.delimitedStringToList("Holger Brands")); assertEquals(4, eventMap.size()); assertTrue(eventMap.containsValue("James")); assertTrue(eventMap.containsValue("Lemieux")); assertTrue(eventMap.containsValue("Holger")); assertTrue(eventMap.containsValue("Brands")); source.remove("Lemieux"); assertEquals(3, eventMap.size()); assertTrue(eventMap.containsValue("James")); assertFalse(eventMap.containsValue("Lemieux")); assertTrue(eventMap.containsValue("Holger")); assertTrue(eventMap.containsValue("Brands")); source.remove("James"); assertEquals(2, eventMap.size()); assertFalse(eventMap.containsValue("James")); assertFalse(eventMap.containsValue("Lemieux")); assertTrue(eventMap.containsValue("Holger")); assertTrue(eventMap.containsValue("Brands")); source.clear(); assertEquals(0, eventMap.size()); assertFalse(eventMap.containsValue("James")); assertFalse(eventMap.containsValue("Lemieux")); assertFalse(eventMap.containsValue("Holger")); assertFalse(eventMap.containsValue("Brands")); assertTrue(eventMap.isEmpty()); }