public static ResourceObserver getResourceObserver() {
    return observer;
  }
Get the resource observer used for testing. Never returns null.
geode-core/src/main/java/org/apache/geode/internal/cache/control/InternalResourceManager.java