public function ProcessBuilderTest::testShouldSetArguments in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/process/Tests/ProcessBuilderTest.php \Symfony\Component\Process\Tests\ProcessBuilderTest::testShouldSetArguments()
File
- vendor/
symfony/ process/ Tests/ ProcessBuilderTest.php, line 89
Class
Namespace
Symfony\Component\Process\TestsCode
public function testShouldSetArguments() {
$pb = new ProcessBuilder(array(
'initial',
));
$pb
->setArguments(array(
'second',
));
$proc = $pb
->getProcess();
$this
->assertContains('second', $proc
->getCommandLine());
}