A stub throwing exceptions. More...
Public Member Functions | |
ThrowStub (Throwable *in_throwable) | |
Creates the object. | |
ThrowStub (ThrowableItem &in_throwable) | |
Creates the object. | |
virtual void | typelessInvoke () |
Mock the invocation without passing parameters. |
A stub throwing exceptions.
Definition at line 128 of file ThrowStub.h.
mockpp::ThrowStub< void >::ThrowStub | ( | Throwable * | in_throwable | ) | [inline] |
Creates the object.
in_throwable | pointer to the object to throw |
Definition at line 135 of file ThrowStub.h.
mockpp::ThrowStub< void >::ThrowStub | ( | ThrowableItem & | in_throwable | ) | [inline] |
Creates the object.
in_throwable | the object to throw |
Definition at line 142 of file ThrowStub.h.
virtual void mockpp::ThrowStub< void >::typelessInvoke | ( | ) | [inline, virtual] |
Mock the invocation without passing parameters.
Actually the method never returns but the excection is thrown instead.
Implements mockpp::TypelessStub< void >.
Definition at line 150 of file ThrowStub.h.