@VisibleForTesting
  public static void setManagementService(InternalCacheForClientAccess cache,
      BaseManagementService service) {
    synchronized (instances) {
      instances.put(cache, service);
    }
  }
Returns a ManagementService to use for the specified Cache.

@param cache defines the scope of resources to be managed
geode-core/src/main/java/org/apache/geode/management/internal/BaseManagementService.java