Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // PKRespondsToMatcher.h
- //
- // Created by Pavel Kunc on 11/02/2011.
- // Copyright 2011 Pavel Kunc. All rights reserved.
- //
- #import <OCHamcrestIOS/HCBaseMatcher.h>
- #import <OCHamcrestIOS/HCDescription.h>
- #import <objc/objc-api.h>
- @interface PKRespondsToMatcher : HCBaseMatcher {
- NSString *selectorString_;
- }
- + (NXRRespondsToMatcher *)respondsToMatcher:(NSString *)aSelectorString;
- - (id)initWithString:(NSString *)aSelectorString;
- @end
- OBJC_EXPORT id<HCMatcher> PK_respondsTo(NSString *aString);
- #ifdef HC_SHORTHAND
- #define respondsTo PK_respondsTo
- #endif
Add Comment
Please, Sign In to add comment