Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
This commit is contained in:
15
Pods/OCHamcrest/Source/Core/Helpers/HCRequireNonNilObject.m
generated
Normal file
15
Pods/OCHamcrest/Source/Core/Helpers/HCRequireNonNilObject.m
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
// OCHamcrest by Jon Reid, https://qualitycoding.org/
|
||||
// Copyright 2019 hamcrest.org. See LICENSE.txt
|
||||
|
||||
#import "HCRequireNonNilObject.h"
|
||||
|
||||
|
||||
void HCRequireNonNilObject(id obj)
|
||||
{
|
||||
if (obj == nil)
|
||||
{
|
||||
@throw [NSException exceptionWithName:@"NilObject"
|
||||
reason:@"Must be non-nil object"
|
||||
userInfo:nil];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user