@Test
  public void testManagerShutdown() {
    managementTestRule.createMember(memberVMs[0]);
    managementTestRule.createMember(memberVMs[1]);
    managementTestRule.createMember(memberVMs[2]);

    managementTestRule.createManager(managerVM, false);
    managementTestRule.startManager(managerVM);

    verifyManagerStarted(managerVM,
        managementTestRule.getDistributedMember(memberVMs[0]));

    managementTestRule.stopManager(managerVM);
    verifyManagerStopped(managerVM, memberVMs.length);
  }
Creates and starts a managerVM. Multiple Managers
geode-core/src/distributedTest/java/org/apache/geode/management/CacheManagementDUnitTest.java