Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (23 sloc) 0.607 kB
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import "NSObject+KiwiMockAdditions.h"
#import "KWMock.h"
@implementation NSObject(KiwiMockAdditions)
#pragma mark -
#pragma mark Creating Mocks
+ (id)mock {
return [KWMock mockForClass:[self class]];
}
+ (id)mockWithName:(NSString *)aName {
return [KWMock mockWithName:aName forClass:[self class]];
}
+ (id)nullMock {
return [KWMock nullMockForClass:[self class]];
}
+ (id)nullMockWithName:(NSString *)aName {
return [KWMock nullMockWithName:aName forClass:[self class]];
}
@end
Jump to Line
Something went wrong with that request. Please try again.