Join Slack
Powered by
Mockito 2.1.0 makes it possible to mock final clas...
# android
d
dionsegijn
04/06/2017, 6:03 PM
Mockito 2.1.0 makes it possible to mock final classes and thus use it for Kotlin, just follow their instructions here:
https://github.com/mockito/mockito/wiki/What%27s-new-in-Mockito-2#mock-the-unmockable-opt-in-mocking-of-final-classesmethods
@Paul Woitaschek
you might have forgotton to add
mock-maker-inline
?
p
Paul Woitaschek
04/06/2017, 8:40 PM
dionsegijn: not working for Android tests
15
Views
Open in Slack
Previous
Next