@Test
  public void createProcessController_withNullParameters_throwsNullPointerException()
      throws Exception {
    // arrange
    parameters = null;

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

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