public static Cache getCache(final ServerLauncher serverLauncher) {
    return serverLauncher.getCache();
  }
Returns the Cache from an online in-process ServerLauncher instance
geode-core/src/distributedTest/java/org/apache/geode/distributed/ServerLauncherUtils.java