PHPUnit_Framework_MockObject_Stub_ReturnValueMap
class PHPUnit_Framework_MockObject_Stub_ReturnValueMap implements PHPUnit_Framework_MockObject_Stub (View source)
Stubs a method by returning a value from a map.
Properties
protected | $valueMap |
Methods
__construct(array $valueMap)
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 18
__construct(array $valueMap)
at line 23
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.