function exactly

Returns a matcher that matches when the method it is evaluated for is executed exactly $count times.

@since Method available since Release 3.0.0

Parameters

integer $count:

Return value

PHPUnit_Framework_MockObject_Matcher_InvokedCount

File

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

Code

function exactly($count) {
  return call_user_func_array('PHPUnit_Framework_TestCase::exactly', func_get_args());
}