@Test
  public void setStartupExceptionActionUsesValue() {
    Consumer<Throwable> myThrowable = (throwable) -> {
    };
    Builder builder = new Builder();
    builder.setStartupExceptionAction(myThrowable);
    assertThat(builder.getStartupExceptionAction())
        .isSameAs(myThrowable);

  }
Unit tests for {@link ServerLauncher.Builder}. Extracted from {@link ServerLauncherTest}.
geode-core/src/test/java/org/apache/geode/distributed/ServerLauncherBuilderTest.java