Set up a chainable mock method expectations with 4 parameters. More...
Public Types | |
typedef ChainableMockMethod4Common< RT, P1, P2, P3, P4 > ::InvocationType | InvocationType |
internal shorthand | |
Public Member Functions | |
ChainableMockMethod4 (const String &name, ChainableMockObject *parent) | |
Constructs the mock object. | |
RT | forward (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4) const |
Actually verifies the mocked method. |
Set up a chainable mock method expectations with 4 parameters.
Definition at line 102 of file ChainableMockMethod4.h.
mockpp::ChainableMockMethod4< RT, P1, P2, P3, P4 >::ChainableMockMethod4 | ( | 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 ChainableMockMethod4.h.
RT mockpp::ChainableMockMethod4< RT, P1, P2, P3, P4 >::forward | ( | const P1 & | p1, | |
const P2 & | p2, | |||
const P3 & | p3, | |||
const P4 & | p4 | |||
) | const [inline] |
Actually verifies the mocked method.
Must be called by the client code.
p1 | mock method parameter 1 | |
p2 | mock method parameter 2 | |
p3 | mock method parameter 3 | |
p4 | mock method parameter 4 |
Definition at line 126 of file ChainableMockMethod4.h.