protected void stopBridgeServer(Cache cache) {
    CacheServer bridge = cache.getCacheServers().iterator().next();
    bridge.stop();
    assertFalse(bridge.isRunning());
  }
Stops the cache server that serves up the given cache.
geode-core/src/distributedTest/java/org/apache/geode/cache/query/dunit/PDXQueryTestBase.java