Any suggestions on unit testing the behavior of a ...
# test
e
Any suggestions on unit testing the behavior of a lambda? I’m interested in verifying something like a call `view.setupButton("label", { thingToDoOnButtonClick() })`where I can tell that I passed a lambda whose behavior includes an invocation of
thingToDoOnButtonClick()