jonreid / OCMockito

Mockito for Objective-C: creation, verification and stubbing of mock objects
MIT License
991 stars 118 forks source link

Feature request from Mockito: InOrder #18

Open jonreid opened 11 years ago

rudolf-adamkovic commented 10 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];
}
plu commented 9 years ago

Is this issue about asserting not only invocations, but also invocations in a particular order?

jonreid commented 9 years ago

Yes, this is about verifying that one call came before another.