private void verifyClosedDueToDiskAccessException(Region<?, ?> region) {
    await().until(() -> getDiskStore(region).isClosed());
    await().until(() -> cache.isClosed());
    Throwable thrown = catchThrowable(() -> cache.createRegionFactory().create(regionName));
    assertThat(thrown).isInstanceOf(CacheClosedException.class)
        .hasCauseInstanceOf(DiskAccessException.class);
  }
Regression test for TRAC #41770: ConcurrentRegionOperationsJUnitTest fails with duplicate
create in an oplog
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskRegionJUnitTest.java