public void setFunctionContext(InternalRegionFunctionContext fContext) {
    rfContext = fContext;
  }
This instance method was added so that unit tests could mock it
geode-core/src/main/java/org/apache/geode/internal/cache/LocalDataSet.java