public void stopBridgeServers(Cache cache) {
    CacheServer bridge;
    for (CacheServer cacheServer : cache.getCacheServers()) {
      bridge = cacheServer;
      bridge.stop();
      assertThat(bridge.isRunning()).isFalse();
    }
  }
Stops the cache server that serves up the given cache.

@param cache the cache
@since GemFire 4.0
geode-dunit/src/main/java/org/apache/geode/cache30/ClientServerTestCase.java