@VisibleForTesting
  public static void addTestSystem(InternalDistributedSystem internalDistributedSystem) {
    DistributedSystem.addSystem(internalDistributedSystem);
  }
Notifies all resource event listeners. All exceptions are caught here and only a warning
message is printed in the log

@param event Enumeration depicting particular resource event
@param resource the actual resource object.
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java