Mockito Not Mocking In Instrumented Android Test
EDIT: Solution: Changed Mockito Version to 1.+. In my androidTest folder I have something like this: @Before public void setUp() throws Exception { LoginPresenter context = Moc
Solution 1:
Change mockito-core
version to 2.0.17-beta
. Unfortunately, the dexmaker
does not work with higher Mockito
version.
Described more here.
Post a Comment for "Mockito Not Mocking In Instrumented Android Test"