@Test
  public void buildUsesMemberNameSetInSystemProperties() {
    System.setProperty(GeodeGlossary.GEMFIRE_PREFIX + NAME, "serverXYZ");

    ServerLauncher launcher = new Builder().setCommand(ServerLauncher.Command.START).build();

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