public function PHPUnit_Framework_TestFailure::thrownException

Gets the thrown exception.

Return value

Exception

1 call to PHPUnit_Framework_TestFailure::thrownException()
PHPUnit_Framework_TestFailure::isFailure in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestFailure.php
Returns TRUE if the thrown exception is of type AssertionFailedError.

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestFailure.php, line 154

Class

PHPUnit_Framework_TestFailure
A TestFailure collects a failed test together with the caught exception.

Code

public function thrownException() {
  return $this->thrownException;
}