Checks whether this Expected object and rhs contain the same expected value or error value.
See Implementation
Checks whether this Expected object and rhs contain the same expected value or error value.