mttkay/ignition

jUnit Tests (with Robolectric/Mockito) - possible?

robertoandrade opened this issue · 0 comments

Hi, I'm using your lib for some of my Android projects and would love to be able to mock IgnitedHttp calls on some of my unit tests.

I haven't found any tests in the project or external projects so was wondering if you guys had any luck stubbing the classes to avoid having it delegate to HttpClient during testing given Robolectric doesn't go that far in shadowing the stub implementations provided with the Android SDK.