Join Slack
Powered by
using mocking, how would I mock the return of `thi...
# test
k
kevin.cianfarini
11/28/2018, 7:11 PM
using mocking, how would I mock the return of
this.walk()
?
o
oleksiyp
11/28/2018, 8:17 PM
Don't know how to do it in regular mocking framework(Mockito or powermock), but in MockK it is easy (Im author, so always biased)
oleksiyp
11/28/2018, 8:20 PM
https://mockk.io/#extension-functions
3
Views
Open in Slack
Previous
Next