public function PHPUnit_Framework_MockObject_MockObject::expects in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/MockObject.php \PHPUnit_Framework_MockObject_MockObject::expects()
Registers a new 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
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ MockObject.php, line 27
Class
- PHPUnit_Framework_MockObject_MockObject
- Interface for all mock objects which are generated by PHPUnit_Framework_MockObject_MockBuilder.
Code
public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher);