XCTExpectFailureInBlock
Instructs the test to expect a failure in an assertion in the provided block of code.
Declaration
extern void XCTExpectFailureInBlock(NSString *failureReason, void (^failingBlock)());Instructs the test to expect a failure in an assertion in the provided block of code.
extern void XCTExpectFailureInBlock(NSString *failureReason, void (^failingBlock)());