At my day job I\'ve been spoiled with Mockito\'s never() verification, which can confirm that a mock method is never called.
Is there some way to accomplish the same thi
Starting from version 3.3 OCMock has OCMReject macro.
id mock = OCMClassMock([MyObject class]); OCMReject([mock forbiddenMethod]); // exception will raise [mock forbiddenMethod];