Expanded class hierarchy of PhpProcessTest
class PhpProcessTest extends \PHPUnit_Framework_TestCase {
public function testNonBlockingWorks() {
$expected = 'hello world!';
$process = new PhpProcess(<<<PHP
<?php echo '{<span class="php-variable">$expected</span>}';
PHP
);
$process
->start();
$process
->wait();
$this
->assertEquals($expected, $process
->getOutput());
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PhpProcessTest:: |
public | function |