public function ProcessBuilderTest::shouldInheritEnvironmentVarsByDefault

@test

File

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

Class

ProcessBuilderTest

Namespace

Symfony\Component\Process\Tests

Code

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