PHPUnit_Framework_MockObject_Invokable
interface PHPUnit_Framework_MockObject_Invokable implements PHPUnit_Framework_MockObject_Verifiable (View source)
Interface for classes which can be invoked.
The invocation will be taken from a mock object and passed to an object of this class.
Methods
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
Invokes the invocation object $invocation so that it can be checked for expectations or matched against stubs.
Details
verify()
Verifies that the current expectation is valid. If everything is OK the code should just return, if not it must throw an exception.
at line 27
object
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Invokes the invocation object $invocation so that it can be checked for expectations or matched against stubs.
at line 36
bool
matches(PHPUnit_Framework_MockObject_Invocation $invocation)
Checks if the invocation matches.