Closed mehdiyari closed 5 years ago
@mehdiyari It could be multiple things.
Could you show some code, as to indicate where the problem might be?
@bohsen event when iam use mokito-kotlin examples, test throw this error my calass is not final but i have no idea what is 'AllOpen plugin' I will be grateful if you provide me an example with mokito-kotlin that works properly
Closing this for lack of a reproducible example. If this is still an issue, please create a new issue with a Minimal, Verifiable and Reproducible example.
hi i use the mockito-kotlin:2.1.0 in my android-kotlin project but when i try to mock object mockito fails with this Exception ` org.mockito.exceptions.misusing.MissingMethodInvocationException: when() requires an argument which has to be 'a method call on a mock'. For example: when(mock.getArticles()).thenReturn(articles);
Also, this error might show up because: