public function PHPUnit_Framework_TestFailure::thrownException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestFailure.php \PHPUnit_Framework_TestFailure::thrownException()
Gets the thrown exception.
Return value
Exception
1 call to PHPUnit_Framework_TestFailure::thrownException()
- PHPUnit_Framework_TestFailure::isFailure in vendor/
phpunit/ phpunit/ src/ Framework/ TestFailure.php - Returns true if the thrown exception is of type AssertionFailedError.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestFailure.php, line 138
Class
- PHPUnit_Framework_TestFailure
- A TestFailure collects a failed test together with the caught exception.
Code
public function thrownException() {
return $this->thrownException;
}