hey, i'm trying to check my module definition. I'v...
# koin
g
hey, i'm trying to check my module definition. I've added a string to the module and now it fails while runtime in the application it works as it should. The minimal code to reproduce the same exception is provided as a snippet. The exception I get:
Error while resolving instance for class 'java.lang.String' - error: org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class java.lang.String
Mockito cannot mock/spy because :
- Cannot mock wrapper types, String.class or Class.class
koin version = 1.0.2 Someone any idea what am i doing wrong?