You are here

public static function PHPUnit_Framework_TestCase::any in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::any()

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

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount

1 call to PHPUnit_Framework_TestCase::any()
ProxyLogicTest::configureInitializerMock in vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/ProxyLogicTest.php
Configures the current initializer callback mock with provided matcher params

File

vendor/phpunit/phpunit/src/Framework/TestCase.php, line 1527

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public static function any() {
  return new PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount();
}