@Override
  public final void preTearDownAssertions() throws Exception {
    SerializableRunnable checkOrphans = new SerializableRunnable() {

      @Override
      public void run() {
        if (hasCache()) {
          OffHeapTestUtil.checkOrphans(getCache());
        }
      }
    };
    Invoke.invokeInEveryVM(checkOrphans);
    checkOrphans.run();
  }
Tests Partitioned Region with OffHeap memory.

@since Geode 1.0
geode-core/src/distributedTest/java/org/apache/geode/cache30/PartitionedRegionOffHeapDUnitTest.java