A MockException is used internally by the mock framework to signal failed expectations to the test framework.
MockException
Returns a string representation of the object.
The default representation is platform dependent.
a string representation of the object.