https://kotlinlang.org logo
#mockk
Title
# 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() } })
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