OLD | NEW |
1 //------------------------------------------------------------------------------
--------- | 1 //------------------------------------------------------------------------------
--------- |
2 // $Id: OCMObserverRecorder.h 57 2010-07-19 06:14:27Z erik $ | 2 // $Id$ |
3 // Copyright (c) 2009 by Mulle Kybernetik. See License file for details. | 3 // Copyright (c) 2009 by Mulle Kybernetik. See License file for details. |
4 //------------------------------------------------------------------------------
--------- | 4 //------------------------------------------------------------------------------
--------- |
5 | 5 |
6 #import <Foundation/Foundation.h> | 6 #import <Foundation/Foundation.h> |
7 | 7 |
8 @interface OCMObserverRecorder : NSObject | 8 @interface OCMObserverRecorder : NSObject |
9 { | 9 { |
10 NSNotification *recordedNotification; | 10 NSNotification *recordedNotification; |
11 } | 11 } |
12 | 12 |
13 - (void)notificationWithName:(NSString *)name object:(id)sender; | 13 - (void)notificationWithName:(NSString *)name object:(id)sender; |
14 | 14 |
15 - (BOOL)matchesNotification:(NSNotification *)aNotification; | 15 - (BOOL)matchesNotification:(NSNotification *)aNotification; |
16 | 16 |
17 - (BOOL)argument:(id)expectedArg matchesArgument:(id)observedArg; | 17 - (BOOL)argument:(id)expectedArg matchesArgument:(id)observedArg; |
18 | 18 |
19 @end | 19 @end |
OLD | NEW |