Set up visitable mock method expectations with 2 parameters. More...
Public Member Functions | |
VisitableMockMethod2 (const String &name, VisitableMockObject *parent) | |
Constructs the mock object. | |
void | forward (const P1 &p1, const P2 &p2) const |
Actually verifies the mocked method. |
Set up visitable mock method expectations with 2 parameters.
Partial specialisation for a void return value.
Definition at line 249 of file VisitableMockMethod2.h.
mockpp::VisitableMockMethod2< void, P1, P2 >::VisitableMockMethod2 | ( | const String & | name, | |
VisitableMockObject * | parent | |||
) | [inline] |
Constructs the mock object.
name | human readable description about the expectation | |
parent | parent Visitable mock object |
Definition at line 258 of file VisitableMockMethod2.h.
void mockpp::VisitableMockMethod2< void, 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 268 of file VisitableMockMethod2.h.