<How to verify a top level function was called wit...
# stackoverflow
u
How to verify a top level function was called with Mockk? How to verify that a top level (static) function was called in a test with MockK? Simple approach like: verify { someTopLevelFunction("some text") } results in io.mockk.MockKException: can't find stub kotlin.Unit.