jonreid / OCMockito

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

Feature request: Ability to create strict mocks #104

Open DamienSirkis opened 9 years ago

DamienSirkis commented 9 years ago

Currently all mocks created by OCMockito are 'nice' mocks and always return something even on methods that have not been stubbed.

Would be nice to have a strictMock() alternative that would instead fail/assert early if anything calls something not stubbed out.

therealbnut commented 9 years ago

:+1:

kouky commented 8 years ago

:+1: