@Override
  protected void createCache() throws Exception {
    Properties p = new Properties();
    p.setProperty(MCAST_PORT, "0"); // loner
    p.setProperty(DISTRIBUTED_TRANSACTIONS, "true");

    cache = (GemFireCacheImpl) CacheFactory.create(DistributedSystem.connect(p));

    createRegion();
    txMgr = cache.getCacheTransactionManager();

    assertTrue(txMgr.isDistributed());

    listenerAfterCommit = 0;
    listenerAfterFailedCommit = 0;
    listenerAfterRollback = 0;
    listenerClose = 0;
  }
Run the basic transaction functionality tests in TXJUnitTest after setting
"distributed-transactions" property to true
geode-core/src/integrationTest/java/org/apache/geode/disttx/DistTXJUnitTest.java