@Before
  public void before() throws Exception {
    factory = new ProcessControllerFactory();
    parameters = mock(ProcessControllerParameters.class);
    directory = temporaryFolder.getRoot();
    pidFile = new File(directory, "pid.txt");
    pidFileName = pidFile.getName();
    pid = identifyPid();

    assertThat(pidFile).doesNotExist();
    assertThat(isProcessAlive(pid)).isTrue();
  }
Functional integration tests for {@link ProcessControllerFactory}.
geode-core/src/integrationTest/java/org/apache/geode/internal/process/ProcessControllerFactoryIntegrationTest.java