@Test
  public void createProcessController_withAttachAPI_returnsMBeanProcessController()
      throws Exception {
    // act
    ProcessController controller = factory.createProcessController(parameters, pid);

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

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