@Override
  public Properties getDistributedSystemProperties() {
    Properties result = super.getDistributedSystemProperties();
    result.put(ConfigurationProperties.LOCATORS, "localhost[" + locatorPort + "]");
    return result;
  }
This class tests the functionality of the {@link ClusterDistributionManager} class.
geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/ClusterDistributionManagerDUnitTest.java