@Test
  public void readingEmptyFileThrowsIllegalArgumentException() throws Exception {
    // arrange
    FileUtils.writeStringToFile(pidFile, "", Charset.defaultCharset());

    // act/assert
    assertThatThrownBy(() -> new PidFile(pidFile).readPid())
        .isInstanceOf(IllegalArgumentException.class);
  }
Functional integration tests for {@link PidFile}.

@since GemFire 8.2
geode-core/src/integrationTest/java/org/apache/geode/internal/process/PidFileIntegrationTest.java