Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (22 sloc) 0.585 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
//
// KWHaveValueMatcher.h
// Kiwi
//
// Created by Luke Redpath on 24/01/2011.
// Copyright 2011 Allen Ding. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KWMatcher.h"

@interface KWHaveValueMatcher : KWMatcher {
@private

  NSString *expectedKey;
  NSString *expectedKeyPath;
  id expectedValue;
}

#pragma mark -
#pragma mark Configuring Matchers

- (void)haveValue:(id)value forKey:(NSString *)key;
- (void)haveValue:(id)value forKeyPath:(NSString *)keyPath;
- (void)haveValueForKey:(NSString *)key;
- (void)haveValueForKeyPath:(NSString *)keyPath;

@end
Something went wrong with that request. Please try again.