public function PHPUnit_Framework_Constraint_Callback::toString

Returns a string representation of the constraint.

Return value

string

Overrides PHPUnit_Framework_SelfDescribing::toString

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/Callback.php, line 94

Class

PHPUnit_Framework_Constraint_Callback
Constraint that evaluates against a specified closure.

Code

public function toString() {
  return 'is accepted by specified callback';
}