Join Slack
Powered by
Hello, is it possible to call a private method whe...
# mockk
j
jdiaz
12/04/2018, 12:39 AM
Hello, is it possible to call a private method when spying an object with answers?
every { obj.method() } answers { mock["privateMethod"](); whatever; }
o
oleksiyp
12/04/2018, 6:45 AM
I dont think it is possible because it is not in scope of answers. But I dont remember all the details
4
Views
Open in Slack
Previous
Next