@Test
  public void testPersistUnmarkForWrite() {
    DiskId diskId = getDiskId();
    diskId.setKeyId(11);
    diskId.unmarkForWriting();
    long newKeyId = diskId.getKeyId();

    assertEquals(11, newKeyId);
  }
Tests unmarkForWrite for persistent region does not change keyId
geode-core/src/test/java/org/apache/geode/internal/cache/DiskIdJUnitTest.java