Learn how to mock a REST API with MockWebServer and easily test your business logic using Espresso to check how your UI handle success or error responses.
This is a companion discussion topic for the original entry at https://www.kodeco.com/33855511-testing-rest-apis-using-mockwebserver