protected InputListener createExpectedListener(final String name, final String expected,
      final AtomicBoolean atomic) {
    return new InputListener() {
      @Override
      public void notifyInputLine(String line) {
        if (line.contains(expected)) {
          atomic.set(true);
        }
      }

      @Override
      public String toString() {
        return name;
      }
    };
  }
Abstract base class for integration tests of both {@link LocatorLauncher} and
{@link ServerLauncher}.

@since GemFire 8.0
geode-core/src/integrationTest/java/org/apache/geode/distributed/LauncherIntegrationTestCase.java