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

phldavies

03/09/2022, 8:23 PM
Are there any workarounds to https://github.com/mockk/mockk/issues/791? I’m trying to mock a method call that takes a value class as parameter.
m

Mattia Tommasone

03/09/2022, 9:32 PM
i don’t think so, value classes are particularly tricky in that they are implemented in a different way from other classes and mocking them is not the easiest thing
can you provide a sample of what you are trying to achieve, though? it may be a case that can be implemented in a different way
8 Views