public void setNotificationInfo(int threshold, long maxMemory, long thresholdInBytes,
      long delta) {
    this.threshold = threshold;
    this.maxMemory = maxMemory;
    this.thresholdInBytes = thresholdInBytes;
    this.delta = delta;
  }
Test only hand back object passed to
geode-core/src/main/java/org/apache/geode/internal/cache/TestHeapThresholdObserver.java