public function ProcessBuilderTest::testShouldSetArguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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());
}