Skip to content

Content Tagged "retrofit"

Page 1 of 1

Content Tagged "retrofit"

Manually Create a Retrofit/OkHttp Response for Testing

September 21, 2015Category: Software
I've got a method in an use case which requires a Retofit Response object as parameter and I need to test it. Now, I can use the Retrofit itself and build one with the network, but it would require the full android shebang. I've opted instead for building a Retrofit Response manually. My method is…

All tags