public function PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex::toString

Return value

string

Overrides PHPUnit_Framework_SelfDescribing::toString

File

drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Matcher/InvokedAtIndex.php, line 86

Class

PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex
Invocation matcher which checks if a method was invoked at a certain index.

Code

public function toString() {
  return 'invoked at sequence index ' . $this->sequenceIndex;
}