public function PHPUnit_Framework_ExpectationFailedException::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/ExpectationFailedException.php \PHPUnit_Framework_ExpectationFailedException::__construct()
Overrides PHPUnit_Framework_Exception::__construct
File
- vendor/
phpunit/ phpunit/ src/ Framework/ ExpectationFailedException.php, line 27
Class
- PHPUnit_Framework_ExpectationFailedException
- Exception for expectations which failed their check.
Code
public function __construct($message, SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure = null, Exception $previous = null) {
$this->comparisonFailure = $comparisonFailure;
parent::__construct($message, 0, $previous);
}