Returns a matcher that matches when the method it is evaluated for is executed exactly once.
@since Method available since Release 3.0.0
PHPUnit_Framework_MockObject_Matcher_InvokedCount
public static function once() {
return new PHPUnit_Framework_MockObject_Matcher_InvokedCount(1);
}