|
Lggr
|


Public Member Functions | |
| __construct ($value) | |
| toString () | |
Public Member Functions inherited from PHPUnit\Framework\Constraint\Constraint | |
| evaluate ($other, $description='', $returnResult=false) | |
| count () | |
Protected Member Functions | |
| matches ($other) | |
| fail ($other, $description, ComparisonFailure $comparisonFailure=null) | |
Protected Member Functions inherited from PHPUnit\Framework\Constraint\Constraint | |
| additionalFailureDescription ($other) | |
| failureDescription ($other) | |
Protected Attributes | |
| $value | |
Protected Attributes inherited from PHPUnit\Framework\Constraint\Constraint | |
| $exporter | |
Asserts whether or not two JSON objects are equal.
| PHPUnit\Framework\Constraint\JsonMatches::__construct | ( | $value | ) |
Creates a new constraint.
| string | $value |
|
protected |
Throws an exception for the given compared value and test description
| mixed | $other | Evaluated value or object. |
| string | $description | Additional information about the test |
| ComparisonFailure | $comparisonFailure |
| ExpectationFailedException |
Reimplemented from PHPUnit\Framework\Constraint\Constraint.
|
protected |
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
This method can be overridden to implement the evaluation algorithm.
| mixed | $other | Value or object to evaluate. |
Reimplemented from PHPUnit\Framework\Constraint\Constraint.
| PHPUnit\Framework\Constraint\JsonMatches::toString | ( | ) |
Returns a string representation of the object.
Implements PHPUnit\Framework\SelfDescribing.
1.8.17