Returns a matcher that matches when the method it is evaluated for is executed zero or more times.
- return: PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount any()
Returns a matcher that matches when the method it is evaluated for is never executed.
- return: PHPUnit_Framework_MockObject_Matcher_InvokedCount
PHPUnit_Framework_MockObject_Matcher_InvokedCount never()
Returns a matcher that matches when the method it is evaluated for is executed at least once.
- return: PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce
PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce atLeastOnce()
Returns a matcher that matches when the method it is evaluated for is executed exactly once.
- return: PHPUnit_Framework_MockObject_Matcher_InvokedCount
PHPUnit_Framework_MockObject_Matcher_InvokedCount once()
Returns a matcher that matches when the method it is evaluated for is executed exactly once.
- param: int
- return: PHPUnit_Framework_MockObject_Matcher_InvokedCount
PHPUnit_Framework_MockObject_Matcher_InvokedCount exactly(int $count)
Returns a matcher that matches when the method it is evaluated for is invoked at the given $index.
- param: int
- return: PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex
PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex at(int $index)