XCTExpectFailureWithOptions
Instructs the test to expect a failure in an upcoming assertion, with options to customize expected failure checking and handling.
Declaration
extern void XCTExpectFailureWithOptions(NSString *failureReason, XCTExpectedFailureOptions *options);