Checks that received is expected and throws a FailingExpectationException otherwise.
See Implementation
Checks that received is expected and throws a FailingExpectationException otherwise.