Home | History | Annotate | Download | only in xctest
      1 // Copyright (c) 2013 Google Inc. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #import <XCTest/XCTest.h>
      6 #import "MyClass.h"
      7 
      8 @interface TestCase : XCTestCase
      9 @end
     10 
     11 @implementation TestCase
     12 - (void)testFoo {
     13   MyClass *foo = [[MyClass alloc] init];
     14   XCTAssertNotNil(foo, @"expected non-nil object");
     15 }
     16 @end
     17