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

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

    assertThat(builder.getBindAddress()).isEqualTo(localHost);
  }
Unit tests for {@link LocatorLauncher.Builder}. Extracted from {@link LocatorLauncherTest}.
geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherBuilderTest.java