You are here

public function AbstractProcessTest::testNegativeTimeoutFromSetter in Zircon Profile 8

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

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

File

vendor/symfony/process/Tests/AbstractProcessTest.php, line 55

Class

AbstractProcessTest
@author Robert Schönthal <seroscho@googlemail.com>

Namespace

Symfony\Component\Process\Tests

Code

public function testNegativeTimeoutFromSetter() {
  $p = $this
    ->getProcess('');
  $p
    ->setTimeout(-1);
}