You are here

public function AbstractProcessTest::testMustRunThrowsException 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::testMustRunThrowsException()

@expectedException \Symfony\Component\Process\Exception\ProcessFailedException

1 call to AbstractProcessTest::testMustRunThrowsException()
SigchildDisabledProcessTest::testMustRunThrowsException in vendor/symfony/process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException
1 method overrides AbstractProcessTest::testMustRunThrowsException()
SigchildDisabledProcessTest::testMustRunThrowsException in vendor/symfony/process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testMustRunThrowsException() {
  $process = $this
    ->getProcess('exit 1');
  $process
    ->mustRun();
}