Documentation

PHPUnit_Framework_MockObject_MockObject
in

Interface for all mock objects which are generated by PHPUnit_Framework_MockObject_MockBuilder.

Tags
since

Interface available since Release 1.0.0

Table of Contents

__phpunit_getInvocationMocker()  : PHPUnit_Framework_MockObject_InvocationMocker
__phpunit_setOriginalObject()  : PHPUnit_Framework_MockObject_InvocationMocker
__phpunit_verify()  : mixed
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
expects()  : PHPUnit_Framework_MockObject_Builder_InvocationMocker
Registers a new expectation in the mock object and returns the match object which can be infused with further details.

Methods

Search results