@Override
    public void cacheClosed(InternalCache cache) {
      cacheClosedCallbacks.add(new CacheLifecycleCallback(cache));
    }
Tests notifications of CacheLifecycleListener from GemFireCacheImpl.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/CacheLifecycleListenerJUnitTest.java