Fix crash on app list start page contents not existing.
[chromium-blink-merge.git] / third_party / ocmock / OCMock / OCMObserverRecorder.h
blob556da3c00e3e18b8499dbb5dd6ffaab444d1983f
1 //---------------------------------------------------------------------------------------
2 // $Id$
3 // Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import <Foundation/Foundation.h>
8 @interface OCMObserverRecorder : NSObject
10 NSNotification *recordedNotification;
13 - (void)notificationWithName:(NSString *)name object:(id)sender;
15 - (BOOL)matchesNotification:(NSNotification *)aNotification;
17 - (BOOL)argument:(id)expectedArg matchesArgument:(id)observedArg;
19 @end