Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (20 sloc) 587 Bytes
//
// NSArray+Shoulda.h
// Headlights
//
// Created by Saul Mora on 7/4/10.
// Copyright 2010 Magical Panda Software LLC. All rights reserved.
//
//#import <Cocoa/Cocoa.h>
#import "ObjectiveShoulda.h"
@interface NSArray (Shoulda)
- (void) shouldContain:(id)expectedObject withReason:(NSString *)reason;
- (void) shouldBeEmptyWithReason:(NSString *)reason;
- (void) shouldNotBeEmptyWithReason:(NSString *)reason;
- (NSNumber *) itemCount;
@end
@interface NSArray (SimpleShoulda)
- (void) shouldContain:(id)expectedObject;
- (void) shouldBeEmpty;
- (void) shouldNotBeEmpty;
@end