Returns the test at the given index.
Parameters
integer:
Return value
PHPUnit_Framework_Test
File
- drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php, line 794
Class
- PHPUnit_Framework_TestSuite
- A TestSuite is a composite of Tests. It runs a collection of test cases.
Code
public function testAt($index) {
if (isset($this->tests[$index])) {
return $this->tests[$index];
}
else {
return FALSE;
}
}