A MockObject that merges all the advanced mock objects. More...
Public Member Functions | |
MixedMockObject (const String &name, VerifiableList *parent=0) | |
Construct the item. | |
virtual | ~MixedMockObject () |
Destruct the item. | |
virtual void | reset () |
Frees all internal data. | |
virtual void | verify () |
Verifies the object and the mock objects it contains. |
A MockObject that merges all the advanced mock objects.
Definition at line 46 of file MixedMockObject.h.
mockpp::MixedMockObject::MixedMockObject | ( | const String & | name, | |
VerifiableList * | parent = 0 | |||
) |
Construct the item.
name | human readable description about the object | |
parent | parent verifiable |
Definition at line 40 of file MixedMockObject.cpp.
void mockpp::MixedMockObject::verify | ( | ) | [virtual] |
Verifies the object and the mock objects it contains.
If it fails, an AssertionFailedError is thrown
Reimplemented from mockpp::MockObject.
Definition at line 53 of file MixedMockObject.cpp.