Testing Objective-C networking code using Mimic
This sample project contains an example of testing HTTP connectivity using the Mimic gem and it's REST API to configure the stubs.
Running the example test
After cloning the project, you'll need to initialize the git submodules to get Kiwi and Hamcrest. You'll also need the bundler gem. Install the Mimic gem from the latest HEAD by running
You should now be able to load Xcode, select the Specs target and build successfully.
Try changing the stubbed response body and see the test fail.