PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
class PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls implements PHPUnit_Framework_MockObject_Stub (View source)
Stubs a method by returning a user-defined stack of values.
Properties
protected | $stack | ||
protected | $value |
Methods
__construct($stack)
No description
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.
toString()
No description
Details
at line 21
__construct($stack)
at line 26
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.