private static void expectSystemToContainThisManyMembers(final int expectedMembers) {
    assertThat(system).isNotNull();
    await()
        .untilAsserted(() -> assertEquals(expectedMembers, system.getDM().getViewMembers().size()));
  }
Tests the ability of the {@link Locator} API to start and stop locators running in remote VMs.

@since GemFire 4.0
geode-core/src/distributedTest/java/org/apache/geode/distributed/LocatorDUnitTest.java