Checks that predicate(received) returns true and throws a FailingExpectationException otherwise.
See Implementation
Checks that predicate(received) returns true and throws a FailingExpectationException otherwise.