For API testing purposes, I need to read json files that would be my responses in API requests.
Well, with Retrofit 1.9 it was possible to implement a "Client" and override the "execute ()" method to read the json file locally.
With Retrofit 2.0, only instances of OkHttpClient are accepted, no longer being able to make 'custom clients'.
What is the best way to get around this and mock my client and read the Json file locally?