Join Slack
Powered by
Guys, is it possible to somehow unit-test extensio...
# announcements
a
aaverin
06/09/2016, 7:21 AM
Guys, is it possible to somehow unit-test extension functions? Like, if I have
Copy code
fun MyClass.myfunction() { //do stuff }
and MyClass is a dependency that I mock with PowerMock, how can I ensure that
myfunction
is called on
MyClass
instance?
Open in Slack
Previous
Next