@Before
  public void createRegions() {
    region = getCache().createRegionFactory(RegionShortcut.PARTITION).create(REGION);
    PartitionRegionHelper.assignBucketsToPartitions(region);
  }
Test of the behavior of a custom ResultCollector when handling exceptions
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/FunctionServiceLocalPRDUnitTest.java