XCTExpectFailureWithOptionsInBlock
Instructs the test to expect a failure in an assertion in the provided block of code, with options to customize expected failure checking and handling.
Declaration
extern void XCTExpectFailureWithOptionsInBlock(NSString *failureReason, XCTExpectedFailureOptions *options, void (^failingBlock)());