@Test
  public void createProcessController_withZeroPid_throwsIllegalArgumentException()
      throws Exception {
    // arrange
    pid = 0;

    // act/assert
    assertThatThrownBy(() -> factory.createProcessController(parameters, 0))
        .isInstanceOf(IllegalArgumentException.class)
        .hasMessageContaining("Invalid pid '" + 0 + "' specified");
  }
Unit tests for {@link ProcessControllerFactory}.

@since GemFire 8.0
geode-core/src/test/java/org/apache/geode/internal/process/ProcessControllerFactoryTest.java