public static function PHPUnit_Framework_MockObject_MockObject::staticExpects

Registers a new static expectation in the mock object and returns the match object which can be infused with further details.

Parameters

PHPUnit_Framework_MockObject_Matcher_Invocation $matcher:

Return value

PHPUnit_Framework_MockObject_Builder_InvocationMocker

File

drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/MockObject.php, line 75

Class

PHPUnit_Framework_MockObject_MockObject
Interface for all mock objects which are generated by PHPUnit_Framework_MockObject_Mock.

Code

public static function staticExpects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher);