function any

Returns a matcher that matches when the method it is evaluated for is executed zero or more times.

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount

16 string references to 'any'
form_test_range in drupal/core/modules/system/tests/modules/form_test/form_test.module
Form constructor for testing #type 'range' elements.
form_type_range_value in drupal/core/includes/form.inc
Determines the value for a range element.
form_validate_number in drupal/core/includes/form.inc
Form element validation handler for #type 'number'.
GetSetMethodNormalizerTest::attributeProvider in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
GetSetMethodNormalizerTest::testCallbacks in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
@dataProvider provideCallbacks

... See full list

File

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

Code

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