@Test
  public void closeAndRecreateInAllHasNoData() {
    accessor.invoke("create accessor", this::createAccessor);
    for (VM vm : datastores) {
      vm.invoke("create datastore", this::createDataStore);
    }

    accessor.invoke("put operations", () -> {
      Region<Integer, String> region = cacheRule.getCache().getRegion(regionName);
      for (int i = 0; i < NUM_PUTS; i++) {
        region.put(i, "VALUE-" + i);
      }
    });

    for (VM vm : datastores) {
      vm.invoke("close datastore", () -> cacheRule.getCache().getRegion(regionName).close());
    }
    accessor.invoke("close accessor", () -> cacheRule.getCache().getRegion(regionName).close());

    accessor.invoke("recreate accessor", this::createAccessor);
    for (VM vm : datastores) {
      vm.invoke("recreate datastore", this::createDataStore);
    }

    accessor.invoke("get operations", () -> {
      Region<Integer, String> region = cacheRule.getCache().getRegion(regionName);
      for (int i = 0; i < NUM_PUTS; i++) {
        assertThat(region.get(i)).isNull();
      }
    });
  }
This test case checks that a closed PR (accessor/datastore) can be recreated.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionCloseDistributedTest.java