OCMock is an Objective-C implementation of mock objects.
I have a method I would like to test with OCMock but not sure how to do that. I need …
objective-c unit-testing ocmockI 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 ocmockI'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