Documentation

PHPUnit_Framework_MockObject_Invokable extends PHPUnit_Framework_MockObject_Verifiable
in

Interface for classes which can be invoked.

The invocation will be taken from a mock object and passed to an object of this class.

Tags
since

Interface available since Release 1.0.0

Table of Contents

invoke()  : object
Invokes the invocation object $invocation so that it can be checked for expectations or matched against stubs.
matches()  : bool
Checks if the invocation matches.
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.

Methods

Search results