Join Slack
Powered by
Is it possible to only verify a function call but ...
# mockk
a
André Thiele
05/09/2021, 3:37 PM
Is it possible to only verify a function call but ignore the specific instance that a mocked function is being called with?
André Thiele
05/09/2021, 3:41 PM
I mean I just moved the instance into the function parameters but still not the ideal solution. Any recommendations?
e
Emil Kantis
05/09/2021, 7:39 PM
verify { functionToTest(any()) }
or am I missing something? 🙂
https://mockk.io/#matchers
👍 2
6
Views
Open in Slack
Previous
Next