function never

Returns a matcher that matches when the method it is evaluated for is never executed.

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_MockObject_Matcher_InvokedCount

7 string references to 'never'
AggregatorController::adminOverview in drupal/core/modules/aggregator/lib/Drupal/aggregator/Controller/AggregatorController.php
Displays the aggregator administration page.
AttributeBagTest::attributesProvider in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Attribute/AttributeBagTest.php
hook_update_status_alter in drupal/core/modules/update/update.api.php
Alter the information about available updates for projects.
NamespacedAttributeBagTest::attributesProvider in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php
template_preprocess_aggregator_feed_source in drupal/core/modules/aggregator/aggregator.pages.inc
Prepares variables for aggregator feed source templates.

... See full list

File

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

Code

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