PHPUnit_Framework_TestCase::once
Returns a matcher that matches when the method it is evaluated for is executed exactly once.
Signature
public function once()
Returns
- PHPUnit_Framework_MockObject_Matcher_InvokedCount
public function once()