@Test
  public void markInitializedThrowsDiskAccessExceptionWhenInitFileClosedAndParentAndCacheNotClosing() {
    markInitializedTestSetup();

    DiskInitFile diskInitFile =
        new DiskInitFile("testThrows", mockedDiskStoreImpl, false, Collections.emptySet());
    diskInitFile.close();

    assertThatThrownBy(() -> diskInitFile.markInitialized(mockDiskRegionView)).isInstanceOf(
        DiskAccessException.class);
  }
Test the behavior of canonical ids in the init file.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskInitFileJUnitTest.java