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