private AttributesFactory<Integer, String> getLocalRegionAttributesFactory() {
    AttributesFactory<Integer, String> af = new AttributesFactory<>();
    af.setScope(Scope.LOCAL);
    af.setOffHeap(true);
    return af;
  }
Test that LocalRegion cache Loads are not stored in the Region if the VM is in a critical
state, then test that they are allowed once the VM is no longer critical
geode-core/src/distributedTest/java/org/apache/geode/cache/management/MemoryThresholdsOffHeapDUnitTest.java