MockObject
extends
Stub
in
Tags
Table of Contents
- __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
Return values
void —__phpunit_setReturnValueGeneration()
public
__phpunit_setReturnValueGeneration(bool $returnValueGeneration) : void
Parameters
- $returnValueGeneration : bool
Return values
void —__phpunit_verify()
public
__phpunit_verify([bool $unsetInvocationMocker = true ]) : void
Parameters
- $unsetInvocationMocker : bool = true
Return values
void —expects()
public
expects(InvocationOrder $invocationRule) : InvocationMocker
Parameters
- $invocationRule : InvocationOrder