Instance Method

waiter:fulfillmentDidViolateOrderingConstraintsForExpectation:requiredExpectation:

Invoked when a waiter is enforcing fulfillment order and an expectation is fulfilled in the wrong order.

Required.

Declaration

- (void)waiter:(XCTWaiter *)waiter fulfillmentDidViolateOrderingConstraintsForExpectation:(XCTestExpectation *)expectation requiredExpectation:(XCTestExpectation *)requiredExpectation;

Discussion

If the delegate is an XCTestCase instance, this will be reported as a test failure.