@Test
  public void testReplaceValue() {
    CopyOnWriteHashMap map = map5();
    assertEquals("A", map.get(one));
    assertFalse(map.replace(one, "Z", "Z"));
    assertEquals("A", map.get(one));
  }
replace value fails when the given key not mapped to expected value
geode-core/src/integrationTest/java/org/apache/geode/internal/util/concurrent/CopyOnWriteHashMapJUnitTest.java