public function ProcessBuilderTest::testNullTimeout in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/ProcessBuilderTest.php \Symfony\Component\Process\Tests\ProcessBuilderTest::testNullTimeout()
File
- vendor/
symfony/ process/ Tests/ ProcessBuilderTest.php, line 76
Class
Namespace
Symfony\Component\Process\TestsCode
public function testNullTimeout() {
$pb = new ProcessBuilder();
$pb
->setTimeout(10);
$pb
->setTimeout(null);
$r = new \ReflectionObject($pb);
$p = $r
->getProperty('timeout');
$p
->setAccessible(true);
$this
->assertNull($p
->getValue($pb));
}