@Test
  public void testPersistMarkForWrite() {
    DiskId diskId = getDiskId();
    diskId.setKeyId(11);
    assertThatThrownBy(diskId::markForWriting).isInstanceOf(IllegalStateException.class);
  }
Tests markForWrite for persistent region failed
geode-core/src/test/java/org/apache/geode/internal/cache/DiskIdJUnitTest.java