You are here

public function ProcessBuilderTest::testNegativeTimeoutFromSetter in Zircon Profile 8.0

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

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

File

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

Class

ProcessBuilderTest

Namespace

Symfony\Component\Process\Tests

Code

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