@Test
  public void createProcessController_withoutAttachAPI_returnsFileProcessController()
      throws Exception {
    // arrange
    System.setProperty(PROPERTY_DISABLE_ATTACH_API, "true");
    factory = new ProcessControllerFactory();

    // act
    ProcessController controller = factory.createProcessController(parameters, pid);

    // assert
    assertThat(controller).isInstanceOf(FileProcessController.class);
  }
Unit tests for {@link ProcessControllerFactory}.

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