Frameworks/OJMoq/OJMoqStub.j
Go to the documentation of this file.

    00001 @import <Foundation/CPObject.j>
    00002
    00003 function stub() {
    00004         return [[OJMoqStub alloc] init];
    00005 }
    00006
    00007 @implementation OJMoqStub : CPObject
    00008
    00009 /* @ignore */
    00010 - (CPMethodSignature)methodSignatureForSelector:(SEL)aSelector
    00011 {
    00012     return YES;
    00013 }
    00014
    00015 /* @ignore */
    00016 - (void)forwardInvocation:(CPInvocation)anInvocation
    00017 {
    00018         // We are going to do nothing.
    00019 }
    00020
    00024 - (BOOL)respondsToSelector:(SEL)aSelector
    00025 {
    00026     return YES;
    00027 }
    00028
    00029 @end

All Classes Files Functions Variables