How to verify a partial mock has a base method invoked with args using ocmock?
问题 I'm working with a very simple web service that uses a base class to reuse some commonly used functionality. The main method under test simply builds a url and then it uses a super / base method with this argument. - (void)getPlacesForLocation:(Location *)location WithKeyword:(NSString *)keyword { NSString *gps = [NSString stringWithFormat:@"?location=%@,%@", location.lat, location.lng]; NSURL *url = [[NSURL alloc] initWithString:[NSString stringWithFormat:@"%@%@", self.baseurl, gps]]; [super