|
Lggr
|


Public Member Functions | |
| __construct ($message, ComparisonFailure $comparisonFailure=null, \Exception $previous=null) | |
| getComparisonFailure () | |
Public Member Functions inherited from PHPUnit\Framework\AssertionFailedError | |
| toString () | |
Public Member Functions inherited from PHPUnit\Framework\Exception | |
| __construct ($message='', $code=0, \Exception $previous=null) | |
| getSerializableTrace () | |
| __toString () | |
| __sleep () | |
Protected Attributes | |
| $comparisonFailure | |
Protected Attributes inherited from PHPUnit\Framework\Exception | |
| $serializableTrace | |
Exception for expectations which failed their check.
The exception contains the error message and optionally a SebastianBergmann\Comparator\ComparisonFailure which is used to generate diff output of the failed expectations.
| PHPUnit\Framework\ExpectationFailedException::__construct | ( | $message, | |
| ComparisonFailure | $comparisonFailure = null, |
||
| \Exception | $previous = null |
||
| ) |
| string | $message | |
| ComparisonFailure | null | $comparisonFailure | |
| \Exception | null | $previous |
| PHPUnit\Framework\ExpectationFailedException::getComparisonFailure | ( | ) |
1.8.17