public function testIsRunning() {
$process = new Process('php -r "sleep(1);"');
$this
->assertFalse($process
->isRunning());
$process
->start();
$this
->assertTrue($process
->isRunning());
$process
->wait();
$this
->assertFalse($process
->isRunning());
}