Top "Ocmock" questions

OCMock is an Objective-C implementation of mock objects.

How to mock an object with OCMock which isn't passed as a parameter to method?

I have a method I would like to test with OCMock but not sure how to do that. I need …

objective-c unit-testing ocmock
How do you mock out private properties with OCMock for iOS?

I have a private property that is declared in the .m file of my class to be tested, let's call …

objective-c ios cocoa-touch unit-testing ocmock
OCMock with Core Data dynamic properties problem

I'm using OCMock to mock some Core Data objects. Previously, I had the properties implemented with Objective-C 1.0 style explicit accessors: // …

cocoa unit-testing core-data ocmock