diff options
Diffstat (limited to 'Foundation/GTMLightweightProxyTest.m')
-rw-r--r-- | Foundation/GTMLightweightProxyTest.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Foundation/GTMLightweightProxyTest.m b/Foundation/GTMLightweightProxyTest.m index e50a9dc..01a1bb2 100644 --- a/Foundation/GTMLightweightProxyTest.m +++ b/Foundation/GTMLightweightProxyTest.m @@ -30,6 +30,15 @@ @implementation GTMLightweightProxyTest +- (void)testInit { + id proxy = [[[GTMLightweightProxy alloc] + initWithRepresentedObject:self] autorelease]; + STAssertNotNil(proxy, nil); + + proxy = [[[GTMLightweightProxy alloc] init] autorelease]; + STAssertNotNil(proxy, nil); +} + - (void)testProxy { id proxy = [[[GTMLightweightProxy alloc] initWithRepresentedObject:self] autorelease]; |