protected void cleanup() {
    Cache existingCache = basicGetCache();

    if (null != existingCache && !existingCache.isClosed()) {
      Region region = getCache().getRegion(OFF_HEAP_REGION_NAME);

      if (null != region) {
        region.destroyRegion();
      }
    }

    disconnectFromDS();
  }
Removes off-heap region and disconnects.
geode-core/src/distributedTest/java/org/apache/geode/management/OffHeapManagementDUnitTest.java