@Test
  public void testListManagers() throws Exception {
    initManagement(false);

    startLocator(locatorVM, locatorPort);

    validateManagers(locatorVM);
  }
Tests a locator which is co-located with already existing cache
geode-core/src/distributedTest/java/org/apache/geode/management/LocatorManagementDUnitTest.java