Checks if there is a current element after calls to rewind() or next().
Return value
boolean
File
- drupal/core/vendor/phpunit/phpunit/PHPUnit/Util/TestSuiteIterator.php, line 93
Class
- PHPUnit_Util_TestSuiteIterator
- Iterator for test suites.
Code
public function valid() {
return $this->position < count($this->tests);
}