◆ __construct()
PHPUnit\Framework\Constraint\ExceptionCode::__construct |
( |
|
$expected | ) |
|
◆ failureDescription()
PHPUnit\Framework\Constraint\ExceptionCode::failureDescription |
( |
|
$other | ) |
|
|
protected |
Returns the description of the failure
The beginning of failure messages is "Failed asserting that" in most cases. This method should return the second part of that sentence.
- Parameters
-
mixed | $other | evaluated value or object |
- Exceptions
-
Reimplemented from PHPUnit\Framework\Constraint\Constraint.
◆ matches()
PHPUnit\Framework\Constraint\ExceptionCode::matches |
( |
|
$other | ) |
|
|
protected |
◆ toString()
PHPUnit\Framework\Constraint\ExceptionCode::toString |
( |
| ) |
|
The documentation for this class was generated from the following file: