@Test
  public void testRemove2() {
    CopyOnWriteHashMap map = map5();
    map.remove(five, "E");
    assertEquals(4, map.size());
    assertFalse(map.containsKey(five));
    map.remove(four, "A");
    assertEquals(4, map.size());
    assertTrue(map.containsKey(four));

  }
remove(key,value) removes only if pair present
geode-core/src/integrationTest/java/org/apache/geode/internal/util/concurrent/CopyOnWriteHashMapJUnitTest.java