You are here

public function ProcessBuilderTest::testShouldReturnProcessWithDisabledOutput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/ProcessBuilderTest.php \Symfony\Component\Process\Tests\ProcessBuilderTest::testShouldReturnProcessWithDisabledOutput()

File

vendor/symfony/process/Tests/ProcessBuilderTest.php, line 197

Class

ProcessBuilderTest

Namespace

Symfony\Component\Process\Tests

Code

public function testShouldReturnProcessWithDisabledOutput() {
  $process = ProcessBuilder::create(array(
    '/usr/bin/php',
  ))
    ->disableOutput()
    ->getProcess();
  $this
    ->assertTrue($process
    ->isOutputDisabled());
}