@Override
  protected void createCache() {
    Properties props = new Properties();
    props.setProperty(MCAST_PORT, "0");
    props.setProperty(LOCATORS, "");
    props.setProperty(ConfigurationProperties.OFF_HEAP_MEMORY_SIZE, "1m");
    props.put(ConfigurationProperties.DISTRIBUTED_TRANSACTIONS, "true");
    cache = new CacheFactory(props).create();
    CacheTransactionManager txmgr = cache.getCacheTransactionManager();
    assert (txmgr.isDistributed());
  }
Same tests as that of {@link TxReleasesOffHeapOnCloseJUnitTest} after setting
"distributed-transactions" property to true
geode-core/src/integrationTest/java/org/apache/geode/disttx/DistTXReleasesOffHeapOnCloseJUnitTest.java