Files
MonsterCards/iOS/Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongArgumentGetter.m
Tom Hicks c3031fbc39 Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
2020-09-05 22:06:51 -07:00

22 lines
578 B
Objective-C

// OCMockito by Jon Reid, https://qualitycoding.org/
// Copyright 2020 Quality Coding, Inc. See LICENSE.txt
#import "MKTUnsignedLongArgumentGetter.h"
@implementation MKTUnsignedLongArgumentGetter
- (instancetype)initWithSuccessor:(nullable MKTArgumentGetter *)successor
{
self = [super initWithType:@encode(unsigned long) successor:successor];
return self;
}
- (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation
{
unsigned long arg;
[invocation getArgument:&arg atIndex:idx];
return @(arg);
}
@end