public BuilderForTesting setStatisticsManagerFactory(
        StatisticsManagerFactory statisticsManagerFactory) {
      this.statisticsManagerFactory = statisticsManagerFactory;
      return this;
    }
Builds and initializes new instance of InternalDistributedSystem.
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java