MockObject
extends
Stub
in
Tags
Table of Contents
Methods
- __phpunit_getInvocationHandler() : InvocationHandler
- __phpunit_hasMatchers() : bool
- __phpunit_setOriginalObject() : void
- __phpunit_setReturnValueGeneration() : void
- __phpunit_verify() : void
- expects() : InvocationMocker
Methods
__phpunit_getInvocationHandler()
public
__phpunit_getInvocationHandler() : InvocationHandler
Return values
InvocationHandler__phpunit_hasMatchers()
public
__phpunit_hasMatchers() : bool
Return values
bool__phpunit_setOriginalObject()
public
__phpunit_setOriginalObject(mixed $originalObject) : void
Parameters
- $originalObject : mixed
__phpunit_setReturnValueGeneration()
public
__phpunit_setReturnValueGeneration(bool $returnValueGeneration) : void
Parameters
- $returnValueGeneration : bool
__phpunit_verify()
public
__phpunit_verify([bool $unsetInvocationMocker = true ]) : void
Parameters
- $unsetInvocationMocker : bool = true
expects()
public
expects(InvocationOrder $invocationRule) : InvocationMocker
Parameters
- $invocationRule : InvocationOrder