public function testProcessIsSignaledIfStopped() {
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
$this
->markTestSkipped('Windows does not support POSIX signals');
}
$process = $this
->getProcess('php -r "while (true) {}"');
$process
->start();
$process
->stop();
$this
->assertTrue($process
->hasBeenSignaled());
}