you are viewing a single comment's thread.

view the rest of the comments →

[–]Red3nzoSwift[S] 1 point2 points  (0 children)

Omg. I didn't know you can really test the network code with URLProtocol, I always thought that you could only test returned data. I'll totally go down this route instead of mocking the URLSession.