public function testStop() {
$process = $this
->getProcess('php -r "while (true) {}"');
$process
->start();
$this
->assertTrue($process
->isRunning());
$process
->stop();
$this
->assertFalse($process
->isRunning());
}