source: releases/Pester/1.1b1/Source/NSDictionary-NJRExtensions.m@ 332

Last change on this file since 332 was 53, checked in by Nicholas Riley, 22 years ago

Updated for Pester 1.1a5 (very limited release).

Pester 1.1a4 was never released.

File size: 453 bytes
Line 
1//
2// NSDictionary-NJRExtensions.m
3// Pester
4//
5// Created by Nicholas Riley on Tue Nov 19 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import "NSDictionary-NJRExtensions.h"
10
11
12@implementation NSDictionary (NJRExtensions)
13
14- (id)objectForRequiredKey:(NSString *)key;
15{
16 id obj = [self objectForKey: key];
17 NSAssert1(obj != nil, @"Dictionary does not contain object for required key Ò%@Ó", key);
18 return obj;
19}
20
21@end
Note: See TracBrowser for help on using the repository browser.