Documentation

MockObject extends Stub

Tags
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

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

Search results