@Test
  public void setServerLauncherCacheProviderUsesValue() {
    Builder builder = new Builder();

    ServerLauncherCacheProvider value = mock(ServerLauncherCacheProvider.class);
    builder.setServerLauncherCacheProvider(value);

    assertThat(builder.getServerLauncherCacheProvider()).isSameAs(value);
  }
Unit tests for {@link ServerLauncher.Builder}. Extracted from {@link ServerLauncherTest}.
geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherBuilderTest.java