PHPUnit_Framework_TestCase::exactly
Returns a matcher that matches when the method it is evaluated for is executed exactly $count times.
Signature
public function exactly(integer
$count )
Parameters
$count
— integer
Returns
- PHPUnit_Framework_MockObject_Matcher_InvokedCount