There's an XCTFail function: http://iosunittesting.com/xctest-assertions/
It's not a big deal though.