KWNotificationMatcher.h 684 B

123456789101112131415161718192021
  1. //
  2. // KWNotificationMatcher.h
  3. //
  4. // Created by Paul Zabelin on 7/12/12.
  5. // Copyright (c) 2012 Blazing Cloud, Inc. All rights reserved.
  6. //
  7. #import "KWMatcher.h"
  8. typedef void (^PostedNotificationBlock)(NSNotification* note);
  9. @interface KWNotificationMatcher : KWMatcher
  10. - (void)bePosted;
  11. - (void)bePostedWithObject:(id)object;
  12. - (void)bePostedWithUserInfo:(NSDictionary *)userInfo;
  13. - (void)bePostedWithObject:(id)object andUserInfo:(NSDictionary *)userInfo DEPRECATED_MSG_ATTRIBUTE("Use -bePostedWithObject:userInfo: method instead.");
  14. - (void)bePostedWithObject:(id)object userInfo:(NSDictionary *)userInfo;
  15. - (void)bePostedEvaluatingBlock:(PostedNotificationBlock)block;
  16. @end