You are here

public static function PHPUnit_Framework_TestCase::at in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::at()

Returns a matcher that matches when the method is executed at the given index.

@since Method available since Release 3.0.0

Parameters

int $index:

Return value

PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex

File

vendor/phpunit/phpunit/src/Framework/TestCase.php, line 1616

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public static function at($index) {
  return new PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex($index);
}