Counts the number of constraint elements.
@since Method available since Release 3.4.0
Return value
integer
File
- drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint.php, line 115
Class
- PHPUnit_Framework_Constraint
- Abstract base class for constraints. which are placed upon any value.
Code
public function count() {
return 1;
}