I'm spying an object just to verify how many times...
# mockk
a
I'm spying an object just to verify how many times it was called. The method has retry logic and calls itself recursively and I'm trying to verify this retry behavior. I have a test where I'm expecting it to run twice but when I call coVerify on the spy it fails to find the second time it ran. I've debugged it and I see it calling itself recursively so I'm a bit stumped what might be going on? Any ideas