@Override
  public void afterEach(ExtensionContext context) throws Exception {
    GeodeResource resource = context.getStore(NAMESPACE).get(KEY, GeodeResource.class);
    if (resource != null) {
      for (Region<?, ?> region: resource.cache().rootRegions()) {
        region.destroyRegion();
      }
    }
  }
Manages embedded Geode instance using native {@link ServerLauncher}.
criteria/geode/test/org/immutables/criteria/geode/GeodeExtension.java