@Before
  public void createRegions() {
    region = getCache().createRegionFactory(RegionShortcut.REPLICATE_PROXY).create(REGION);
    Host host = Host.getHost(0);
    VM vm0 = host.getVM(0);
    vm0.invoke(() -> {

      getCache().createRegionFactory(RegionShortcut.REPLICATE).create(REGION);

    });
  }
Test of the behavior of a custom ResultCollector when handling exceptions
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/FunctionServicePeerAccessorRRDUnitTest.java