Trying to write a test for some of my networking code (pure okhttp at this point. no retrofit). id like to write a test with okhttp mockwebserver to simulate what happens when I go into airplane mode in the middle of a request (IOException). I know I can use mockwebserver to send back things like 500s, but is mockwebserver the right place to try to simulate my device losing connectivity in the middle of a request?