private void doDestroy(final Object key, final String regionName) {
    Region region = getCache().getRegion(regionName);
    assertThat(region).isNotNull();

    region.destroy(key);
  }
Performs a destroy operation.

@param key the region entry to destroy.
@param regionName a region name.
geode-core/src/distributedTest/java/org/apache/geode/management/OffHeapManagementDUnitTest.java