function atLeastOnce

Returns a matcher that matches when the method it is evaluated for is executed at least once.

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 1779

Code

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