How to capture whatever was returned from a mockk ...
# mockk
l
How to capture whatever was returned from a mockk call? For instance, I want to capture this result:
verify { foo.bar() }
when
foo.bar()
returns a
Foo