public function ProcessBuilderTest::testInheritEnvironmentVarsByDefault

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/ProcessBuilderTest.php, line 48

Class

ProcessBuilderTest

Namespace

Symfony\Component\Process\Tests

Code

public function testInheritEnvironmentVarsByDefault() {
  $pb = new ProcessBuilder();
  $proc = $pb
    ->add('foo')
    ->getProcess();
  $this
    ->assertNull($proc
    ->getEnv());
}