Set up a chainable mock method expectations with 2 parameters. More...
Public Types | |
typedef ChainableMockMethod2Common< RT, P1, P2 >::InvocationType | InvocationType |
internal shorthand | |
Public Member Functions | |
ChainableMockMethod2 (const String &name, ChainableMockObject *parent) | |
Constructs the mock object. | |
RT | forward (const P1 &p1, const P2 &p2) const |
Actually verifies the mocked method. |
Set up a chainable mock method expectations with 2 parameters.
Definition at line 102 of file ChainableMockMethod2.h.
mockpp::ChainableMockMethod2< RT, P1, P2 >::ChainableMockMethod2 | ( | const String & | name, | |
ChainableMockObject * | parent | |||
) | [inline] |
Constructs the mock object.
name | human readable description about the expectation | |
parent | parent chainable mock object |
Definition at line 113 of file ChainableMockMethod2.h.
RT mockpp::ChainableMockMethod2< RT, P1, P2 >::forward | ( | const P1 & | p1, | |
const P2 & | p2 | |||
) | const [inline] |
Actually verifies the mocked method.
Must be called by the client code.
p1 | mock method parameter 1 | |
p2 | mock method parameter 2 |
Definition at line 124 of file ChainableMockMethod2.h.