You are here

function never in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \never()

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

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_MockObject_Matcher_InvokedCount

9 string references to 'never'
AggregatorController::adminOverview in core/modules/aggregator/src/Controller/AggregatorController.php
Displays the aggregator administration page.
AttributeBagTest::attributesProvider in vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php
FeedAdminDisplayTest::testFeedUpdateFields in core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php
Tests the "Next update" and "Last update" fields.
hook_update_status_alter in core/modules/update/update.api.php
Alter the information about available updates for projects.
NamespacedAttributeBagTest::attributesProvider in vendor/symfony/http-foundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php

... See full list

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 2244

Code

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