Skip to content

Instantly share code, notes, and snippets.

View SanCHEESE's full-sized avatar
🏠
Working from home

Alexander Bochkarev SanCHEESE

🏠
Working from home
View GitHub Profile
@SanCHEESE
SanCHEESE / ocmock-cheatsheet.m
Created March 4, 2019 22:58 — forked from kharmabum/ocmock-cheatsheet.m
OCMock cheatsheet
/*----------------------------------------------------*/
#pragma mark - XCTAsserts
/*----------------------------------------------------*/
XCTAssert(expression, format...);
XCTAssertTrue(expression, format...);
XCTAssertFalse(expression, format...);
XCTAssertEqual(expression1, expression2, format...);
XCTAssertNotEqual(expression1, expression2, format...);
XCTAssertNil(expression, format...);