@Test
  @Retry(3)
  public void isProcessAlive_deadPid_returnsFalse() throws Exception {
    int fakePid = new AvailablePid().findAvailablePid(PREFERRED_FAKE_PID);
    assertThat(nativeProcessUtils.isProcessAlive(fakePid))
        .as("is process identified by " + fakePid + " alive?")
        .isFalse();
  }
Unit tests for {@link NativeProcessUtils}.

<p>
Tests involving fakePid use {@link RetryRule} because the fakePid may become used by a real
process before the test executes.
geode-core/src/test/java/org/apache/geode/internal/process/NativeProcessUtilsTest.java