September 13, 2011 By: Claus Broch Filed in: Develop | ILBitly | iPhone | Testing | Tutorial In earlier posts I described methods for unit testing asynchronous network access and how to use mock objects for further control of the scope of these unit tests. In this tutorial I’ll present an alternative way of providing reliable test data by customizing the NSURLProtocol class in order to deliver sta