Macro

XCTAssertNil

Asserts that an expression is nil.

Declaration

#define XCTAssertNil

Parameters

expression

An expression of id type.

...

An optional description of the failure. A literal NSString, optionally with string format specifiers.

Discussion

Generates a failure when expression != nil.