Join Slack
Powered by
Does anybody have idea, how to verify method with ...
# mockk
a
Artur Borowy
06/18/2019, 9:13 AM
Does anybody have idea, how to verify method with lambda argument? Sth like that.
verify(exactly = 1, verifyBlock = { mock.method{ lambdaArgument() } })
Artur Borowy
06/18/2019, 9:13 AM
My error is
w
wbertan
06/18/2019, 9:16 AM
Isn't the case where what "seems" like a lambda actually is a syntax sugar for that Interface?!?! I'm not sure about it, just an idea.
👍 1
Open in Slack
Previous
Next