private CancelCriterion markInitializedTestSetup() {
    InternalCache internalCache = mock(InternalCache.class);
    CancelCriterion cancelCriterion = mock(CancelCriterion.class);
    DiskRegion diskRegion = mock(DiskRegion.class);

    when(mockedDiskStoreImpl.getCache()).thenReturn(internalCache);
    when(mockedDiskStoreImpl.getById(anyLong())).thenReturn(diskRegion);
    when(internalCache.getCancelCriterion()).thenReturn(cancelCriterion);

    return cancelCriterion;
  }
Test the behavior of canonical ids in the init file.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskInitFileJUnitTest.java