public static function PHPUnit_Framework_TestCase::atLeastOnce in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::atLeastOnce()
Returns a matcher that matches when the method is executed at least once.
@since Method available since Release 3.0.0
Return value
PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php, line 1564
Class
- PHPUnit_Framework_TestCase
- A TestCase defines the fixture to run multiple tests.
Code
public static function atLeastOnce() {
return new PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce();
}