summaryrefslogtreecommitdiffstats
path: root/third_party/ocmock/OCMock/OCMObserverRecorder.h
blob: 556da3c00e3e18b8499dbb5dd6ffaab444d1983f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//---------------------------------------------------------------------------------------
//  $Id$
//  Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
//---------------------------------------------------------------------------------------

#import <Foundation/Foundation.h>

@interface OCMObserverRecorder : NSObject 
{
	NSNotification *recordedNotification;
}

- (void)notificationWithName:(NSString *)name object:(id)sender;

- (BOOL)matchesNotification:(NSNotification *)aNotification;

- (BOOL)argument:(id)expectedArg matchesArgument:(id)observedArg;

@end