OCMockito icon indicating copy to clipboard operation
OCMockito copied to clipboard

Feature request from Mockito: InOrder

Open jonreid opened this issue 12 years ago • 3 comments

jonreid avatar Feb 24 '13 06:02 jonreid

This should allow us to verify a method like this:

- (void)save {
    [self.userDefaults setObject:self.value forKey:self.key];
    [self.userDefaults synchronize];
}

rudolf-adamkovic avatar Jan 10 '14 13:01 rudolf-adamkovic

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

plu avatar Mar 26 '15 23:03 plu

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

jonreid avatar Sep 14 '15 00:09 jonreid