/**
  * @return void
  */
 private function runBrowser()
 {
     if (is_null($this->browserCommand)) {
         return;
     }
     $browserProcess = $this->processFactory->createBrowserProcess($this->browserCommand, $this->workingDirectory);
     $this->processes[] = $browserProcess;
     $browserProcess->start();
 }
 private function initProcessFactoryDouble(ProcessFactory $processFactory, Process $behatProcess)
 {
     $processFactory->createBehatProcess(Argument::cetera())->willReturn($behatProcess);
 }