I have an object, how can I spy and verify its pri...
# mockk
p
I have an object, how can I spy and verify its private calls?
m
I don’t think you can. Since they’re private you cannot access them to configure stubbings or verifications.
You can surely spy an object, but you’ll have to verify the internals indirectly through its public API