private int readPidFile(final File pidFile) {
    try {
      assertTrue(pidFile.exists());
      try (BufferedReader reader = new BufferedReader(new FileReader(pidFile))) {
        return Integer.parseInt(StringUtils.trim(reader.readLine()));
      }
    } catch (IOException e) {
      throw new UncheckedIOException(e);
    }
  }
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