Checks that received.isClose(expected, maxRelDiff, maxAbsDiff) and throws a FailingExpectationException if it is.
Checks that received !is expected and throws a FailingExpectationException otherwise.
Checks if received is a TExpected or a sub-type of it. If it is, a FailingExpectationException is thrown.
Checks that received != expected and throws a FailingExpectationException otherwise.
Checks that predicate(received) returns false and throws a FailingExpectationException otherwise.
Checks that predicate(received) returns false for at least one of the given predicates and throws a FailingExpectationException otherwise.
Checks that predicate(received) returns false for all predicates and throws a FailingExpectationException otherwise.
Calls received and catches any exceptions thrown by it. There are three possible outcomes:
Provides negated versions of the usual expectations in Expect.