FileProcessController implements ProcessController { @Override public int getProcessId() { return pid; } FileProcessController(final FileControllerParameters parameters, final int pid);   FileProcessController(final FileControllerParameters parameters, final int pid,
      final long timeout, final TimeUnit units); @Override int getProcessId(); @Override String status(); @Override void stop(); @Override void checkPidSupport();  }
@Test public void getProcessId_returnsPid() throws Exception { assertThat(controller.getProcessId()).isEqualTo(pid); }