You are here

function atLeastOnce in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \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/Assert/Functions.php, line 1783

Code

function atLeastOnce() {
  return call_user_func_array('PHPUnit_Framework_TestCase::atLeastOnce', func_get_args());
}