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

    Supplier<ControllableProcess> controllableProcessFactory =
        () -> mock(ControllableProcess.class);
    builder.setControllableProcessFactory(controllableProcessFactory);

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