Join Slack
Hey how can one mock a static method that has overloads? I’m trying to mock and it’s giving me the a...
# mockk
a
André Martins
03/31/2022, 4:24 PM
Hey how can one mock a static method that has overloads? I’m trying to mock and it’s giving me the ambiguity error
e
ephemient
03/31/2022, 5:20 PM
you can specify types on your matchers, e.g.
any<T>()
💯 1
3
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by