jonreid / OCMockito

Mockito for Objective-C: creation, verification and stubbing of mock objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: possibility to call through

nicoabie opened this issue · comments

When mocking a class, is it possible to make that one of its methods actually calls the real implementation?

Thanks in advance.

I really don't want to open that door.
If you need that, I'd recommend OCMock instead. (I'm pretty sure OCMock and OCMockito can coexist, so you can use OCMock here, OCMockito there.)