/** * Returns a matcher that matches when the method it is evaluated for * is executed at least once. * * @return PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce * @since Method available since Release 3.0.0 */ function atLeastOnce() { return PHPUnit_Framework_TestCase::atLeastOnce(); }
public function expectsAtLeastOneCall($method) { return $this->expects($method, $this->testCase->atLeastOnce()); }