Expect.toSatisfyAny

Succeeds if predicate(received) returns true for at least one of the given predicates. Throws a FailingExpectationError otherwise.

All predicates are evaluated.

If any predicate throws, the expectation will fail, even if other predicates returned true.

struct Expect(TReceived)
void
toSatisfyAny
(
bool delegate
(
const(TReceived)
)
[]
predicates...
)

Meta