https://kotlinlang.org logo
#mockk
Title
# mockk
p

pepe

04/21/2022, 8:34 AM
hey! this question remained unanswered a couple of years ago and now I find myself wondering the same. Let’s see if this time I succeed 🙂 Can someone help me here?
c

christophsturm

04/21/2022, 8:50 AM
I think the answer is “don’t mock a builder”. mocks are for interactions, and a builder just holds data.
p

pepe

04/21/2022, 9:48 AM
Builder is exposed by a third party and I don’t know what it is doing internally, so I don’t want the real builder to run, this is the use case
3 Views