public function PHPUnit_Framework_Constraint_IsJson::toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/IsJson.php \PHPUnit_Framework_Constraint_IsJson::toString()
Returns a string representation of the constraint.
Return value
string
Overrides PHPUnit_Framework_SelfDescribing::toString
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ IsJson.php, line 63
Class
- PHPUnit_Framework_Constraint_IsJson
- Constraint that asserts that a string is valid JSON.
Code
public function toString() {
return 'is valid JSON';
}