To answer this question, let me take a little time to see how OCMock and similar frameworks work:
Mocking frameworks use Objective-C runtime for a proxy server or wrap the source class, so any method call to this class is redirected to a mocking structure that has a pre-written set of instructions on what to do when this method is called.
Therefore, the answer is yes, when you mock a class, you also implicitly make fun of superclass methods. You can record the expectation that this method will be called, and make sure that this happens. You can also check the arguments that have been set.
, , , , :
, OCMockito