private InternalDistributedSystem getSystem(Properties properties) {
    return (InternalDistributedSystem) DistributedSystem.connect(properties);
  }
Tests starting two locators and two servers in different JVMs
geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java