OCMockito
OCMockito copied to clipboard
Feature request from Mockito: InOrder
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.