Open jonreid opened 11 years ago
This should allow us to verify a method like this:
- (void)save { [self.userDefaults setObject:self.value forKey:self.key]; [self.userDefaults synchronize]; }
Is this issue about asserting not only invocations, but also invocations in a particular order?
Yes, this is about verifying that one call came before another.
This should allow us to verify a method like this: