public int hostedTransactionsInProgressForTest() {
    synchronized (hostedTXStates) {
      return hostedTXStates.size();
    }
  }
@return number of transaction in progress on behalf of remote nodes
geode-core/src/main/java/org/apache/geode/internal/cache/TXManagerImpl.java