public function testGetPid() { $process = $this ->getProcess('php -r "sleep(1);"'); $process ->start(); $this ->assertGreaterThan(0, $process ->getPid()); $process ->stop(); }