Use formerly private API, now exposed in Leopard.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
// framework headers
#import "NSInvocation+WOTest.h"
-#import "NSMethodSignature+WOTest.h"
#import "NSObject+WOTest.h"
#import "WOProtocolMock.h" /* for WOStringFromProtocol() */
if (description.name == NULL)
[NSException raise:NSInternalInconsistencyException format:@"No method signature for selector %@ in %@ protocol",
NSStringFromSelector(aSelector), WOStringFromProtocol(protocol)];
- return [NSMethodSignature WOTest_signatureBasedOnObjCTypes:description.types];
+ return [NSMethodSignature signatureWithObjCTypes:description.types];
}
#pragma mark -