Closed emartynov closed 1 year ago
This would also make a hard reference to all possible changes in the core mockito.
mockito-core
now uses the inline mockmaker by default per Mockito 5: https://github.com/mockito/mockito/releases/tag/v5.0.0
@TimvdLippe will mockito kotlin get a new release soon?
@emartynov if you want to send us a PR that bumps Mockito and makes the CI pass, sure I can publish a new release.
I'm afraid, except for the version bump, there should be addressed #473 . I will check if I can write a variant of the mock function that covers this situation.
Ah sorry, I meant #474
having this support Mockito 5 would be amazing :)
Classes by default are closed for extension in Kotlin. For mocking final classes, we have to use mockito inline. So should mockito kotlin have transitive dependency to the kotlin inline?