I often find in my iPhone Objective-C unit tests that I want stub out a class method, e.g. NSUrlConnection's +sendSynchronousRequest:returningResponse:error: method.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label ocmock. Show all posts
Showing posts with label ocmock. Show all posts
Sunday, April 22, 2012
How to stub a class method in OCMock?
Subscribe to:
Posts (Atom)