diff options
Diffstat (limited to 'UnitTesting/GTMSenTestCaseTest.m')
-rw-r--r-- | UnitTesting/GTMSenTestCaseTest.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/UnitTesting/GTMSenTestCaseTest.m b/UnitTesting/GTMSenTestCaseTest.m index 33055ad..edaa180 100644 --- a/UnitTesting/GTMSenTestCaseTest.m +++ b/UnitTesting/GTMSenTestCaseTest.m @@ -80,3 +80,18 @@ static int gZzCheckCalls_ = 0; } @end + +@interface GTMSenTestCase : GTMTestCase +@end + +@implementation GTMSenTestCase +- (void)funcThatAsserts { + NSAssert(nil, @"Should be nil"); +} + +- (void)testXCTAssertAsserts { + XCTAssertAsserts([self funcThatAsserts]); +} + +@end + |