PHPUnit_Framework_MockObject_Stub
interface PHPUnit_Framework_MockObject_Stub implements SelfDescribing (View source)
An object that stubs the process of a normal method for a mock object.
The stub object will replace the code for the stubbed method and return a specific value instead of the original value.
Methods
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.
Details
at line 29
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.