@Test
  public void setRedirectOutputReturnsBuilderInstance() throws Exception {
    LocatorLauncher.Builder builder = new LocatorLauncher.Builder();

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