Returns a string representation of the constraint.
Return value
string
Overrides PHPUnit_Framework_SelfDescribing::toString
File
- drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/IsType.php, line 182
Class
- PHPUnit_Framework_Constraint_IsType
- Constraint that asserts that the value it is evaluated for is of a
specified type.
Code
public function toString() {
return sprintf('is of type "%s"', $this->type);
}