@Test
  public void testAfterRegionCreate() throws Exception {
    AttributesFactory factory = new AttributesFactory();
    factory.setCacheListener(cacheListener);

    Region region = cache.createRegion("testRegion", factory.create());
    region.createSubregion("testSubRegion", factory.create());

    await()
        .untilAsserted(() -> assertThat(cacheListener.afterRegionCreateCount.get()).isEqualTo(2));
  }
AFTER_REGION_CREATE was being sent before region initialization (bug 33726). Test to verify that
that is no longer the case.

<p>
TRAC #33726: afterRegionCreate event delivered before region initialization occurs
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/AfterRegionCreateNotBeforeRegionInitRegressionTest.java