and implementation for
- (NSNotification *)notificationWithName:(NSString *)name object:(id)sender userInfo:(NSDictionary *)userInfo
is missing.
So there's crash:
"caught "NSInvalidArgumentException", "-[OCObserverMockObject notificationWithName:object:userInfo:]: unrecognized selector sent to instance"
when I try to use
OCMExpect(([observerMock notificationWithName:DidUpdateProductList object:manager userInfo:@{@"a": @"b"}]));
In OCObserverMockObject.m there is implementation only for
and implementation for
- (NSNotification *)notificationWithName:(NSString *)name object:(id)sender userInfo:(NSDictionary *)userInfo
is missing.So there's crash:
"caught "NSInvalidArgumentException", "-[OCObserverMockObject notificationWithName:object:userInfo:]: unrecognized selector sent to instance"
when I try to use
OCMExpect(([observerMock notificationWithName:DidUpdateProductList object:manager userInfo:@{@"a": @"b"}]));