UnexpectedValue is subclass of Error that is thrown whenever a value was unexpected in its scope. This typically means that a test was performed to determine that a value was not equal to a certain value.
Returns a fully formatted error for an assertion failure. This message provides information about the expected and actual values.
A string describing the error.
The name of the error that occurred.
The unexpected value.