You are here

public function PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount::toString in Zircon Profile 8

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

Return value

string

Overrides PHPUnit_Framework_SelfDescribing::toString

File

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

Class

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

Code

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