Use bucket parameter in GetIfChanged for support binaries.
[chromium-blink-merge.git] / third_party / ocmock / OCMock / OCClassMockObject.m
blob65b8fdf02d52317d7b617a5628d49dc622e784f6
1 //---------------------------------------------------------------------------------------
2 //  $Id$
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
15         [super init];
16         mockedClass = aClass;
17         return self;
20 - (NSString *)description
22         return [NSString stringWithFormat:@"OCMockObject[%@]", NSStringFromClass(mockedClass)];
25 - (Class)mockedClass
27         return 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];
43 @end