public static void setTestHook(TestHook hook) {
    RangeIndex.testHook = hook;
  }
Method called while appropriate lock held
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/RangeIndex.java