public function ProcessBuilderTest::testNegativeTimeoutFromSetter

@expectedException \Symfony\Component\Process\Exception\InvalidArgumentException

File

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

Class

ProcessBuilderTest

Namespace

Symfony\Component\Process\Tests

Code

public function testNegativeTimeoutFromSetter() {
  $pb = new ProcessBuilder();
  $pb
    ->setTimeout(-1);
}