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
I have an object that is being passed into a subcomponent with @BindsInstance. DaggerMock is trying to mock this object even though I don't want to mock it in tests, and this is causing my test to crash.
The text was updated successfully, but these errors were encountered:
Are you sure the error is on the object used in a @BindsInstance annotated method?
However if you are using DaggerMock in a Kotlin project you should consider using something to avoid problems with final methods/classes. More info here: https://github.com/fabioCollini/DaggerMock/#kotlin-support
Mockito cannot mock/spy because :
I have an object that is being passed into a subcomponent with @BindsInstance. DaggerMock is trying to mock this object even though I don't want to mock it in tests, and this is causing my test to crash.
The text was updated successfully, but these errors were encountered: