Usage with espresso.

28 views
Skip to first unread message

Tiago Veloso

unread,
Mar 3, 2015, 1:15:36 PM3/3/15
to robo...@googlegroups.com
I am using roboguice to inject a REST API implemented with Retrofit via a Module I implemented.

I am trying to implement my test suite with Espresso and I would like to mock the my API calls.

I figured that I need to change the Module that I have implemented to return a special RestAdapter prepared for mock.

Roboguice's Wiki page explains how to do this for Roboelectric, but how to do it with Espresso?
Reply all
Reply to author
Forward
0 new messages