1 //---------------------------------------------------------------------------------------
3 // Copyright (c) 2005-2008 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import "OCClassMockObject.h"
9 @implementation OCClassMockObject
11 #pragma mark Initialisers, description, accessors, etc.
13 - (id)initWithClass:(Class)aClass
20 - (NSString *)description
22 return [NSString stringWithFormat:@"OCMockObject[%@]", NSStringFromClass(mockedClass)];
31 #pragma mark Proxy API
33 - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
35 return [mockedClass instanceMethodSignatureForSelector:aSelector];
38 - (BOOL)respondsToSelector:(SEL)selector
40 return [mockedClass instancesRespondToSelector:selector];