You are here

public function PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount::toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php \PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount::toString()

Return value

string

Overrides PHPUnit_Framework_SelfDescribing::toString

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Matcher/InvokedAtMostCount.php, line 35

Class

PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount
Invocation matcher which checks if a method has been invoked at least N times.

Code

public function toString() {
  return 'invoked at most ' . $this->allowedInvocations . ' times';
}