2008-11-14 17:38:51 UTC
Hmm ok, I was a bit hasty in the code I provided, in order for it to work the mocker would have to look like :
MOCKPP_NS::ChainableMockMethod<void, node, HPAClusterAbstraction> addParentMocker;
Which is a silly since the addParent method takes pointers in the first place...
Anyway, the same benefit from using mockpp::same can be achieved by using mockpp::eq on pointers.
MAT.