@Test
  public void setServerBindAddressToLocalHostNameUsesValue() throws UnknownHostException {
    String host = InetAddress.getLocalHost().getHostName();

    Builder builder = new Builder().setServerBindAddress(host);

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