PHPUnit_Framework_MockObject_MockObject
interface PHPUnit_Framework_MockObject_MockObject (View source)
Interface for all mock objects which are generated by PHPUnitFrameworkMockObject_MockBuilder.
Methods
expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
Registers a new expectation in the mock object and returns the match object which can be infused with further details.
__phpunit_setOriginalObject($originalObject)
No description
__phpunit_verify()
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
bool
__phpunit_hasMatchers()
No description
method($constraint)
No description
Details
at line 29
PHPUnit_Framework_MockObject_Builder_InvocationMocker
expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
Registers a new expectation in the mock object and returns the match object which can be infused with further details.
at line 34
PHPUnit_Framework_MockObject_InvocationMocker
__phpunit_setOriginalObject($originalObject)
at line 39
PHPUnit_Framework_MockObject_InvocationMocker
__phpunit_getInvocationMocker()
at line 47
__phpunit_verify()
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.