ios - How can you use OCMock with NSURLConnection/delegate for a series of mock network connections? -


i've implemented code in posting:how unit test nsurlconnection delegate?

and have managed test case going code simulate sending server package of data via mock classes.

this ok test simple single client post / server response type situation want test conversation scenario code makes post, server sends reply, code makes response, server sends reply etc.

has done similar this?


Comments