@VisibleForTesting
  void removeFromMap(Map<String, Map<ServerLocation, LoadHolder>> map, String[] groups,
      ServerLocation location) {
    for (String group : groups) {
      Map<ServerLocation, LoadHolder> groupMap = map.get(group);
      if (groupMap != null) {
        groupMap.remove(location);
        if (groupMap.size() == 0) {
          map.remove(group);
        }
      }
    }
    Map<ServerLocation, LoadHolder> groupMap = map.get(null);
    groupMap.remove(location);
  }
Test hook to get the current load for all servers Returns a map of ServerLocation->Load for
each server.
geode-core/src/main/java/org/apache/geode/distributed/internal/LocatorLoadSnapshot.java