PHPUnit_Framework_MockObject_Stub_Exception
class PHPUnit_Framework_MockObject_Stub_Exception implements PHPUnit_Framework_MockObject_Stub (View source)
Stubs a method by raising a user-defined exception.
Properties
protected | $exception |
Methods
__construct($exception)
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 20
__construct($exception)
at line 32
mixed
invoke(PHPUnit_Framework_MockObject_Invocation $invocation)
Fakes the processing of the invocation $invocation by returning a specific value.