PHPUnit_Framework_TestCase::atMost
Returns a matcher that matches when the method it is evaluated for is executed at most N times.
Signature
public function atMost(integer
$allowedInvocations )
Parameters
$allowedInvocations
— integer
Returns
- PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount