You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
but whenever I try to do a verify(occasionDao.something) I get a not a mock exception. I've assumed that my method is not overriding the module correctly and did this to find out:
Then I start getting a NPE, which confirmed me that the module is overriding correctly.
Why can't I inject the mock? I've done that in other project and it worked fine. This is the first time with inkecting a mocked generic tough.
Thank you for your attention. Regards
The text was updated successfully, but these errors were encountered:
Hello everyone, so basically I have this provide method in my module:
Then on my tests (running robolectric) I override this module with this:
but whenever I try to do a verify(occasionDao.something) I get a not a mock exception. I've assumed that my method is not overriding the module correctly and did this to find out:
Then I start getting a NPE, which confirmed me that the module is overriding correctly.
Why can't I inject the mock? I've done that in other project and it worked fine. This is the first time with inkecting a mocked generic tough.
Thank you for your attention. Regards
The text was updated successfully, but these errors were encountered: