@Test
  public void startGetsCacheFromServerLauncherCacheProvider() {
    startServer(newBuilder()
        .setDisableDefaultServer(true)
        .setSpringXmlLocation(springXml()));

    Cache cache = launcher.getCache();

    assertThat(cache).isEqualTo(providerCache);
  }
Extracted from {@link ServerLauncherLocalIntegrationTest}. This tests the same mechanism used by
Spring Data GemFire/Geode.

<p>
ServerLauncher.start fails to configure server with Spring
geode-core/src/integrationTest/java/org/apache/geode/distributed/ServerLauncherWithProviderRegressionTest.java