Join Slack
Powered by
Hey guys, does anybody know how to make mockk `any...
# multiplatform
j
Jan Stoltman
05/13/2019, 1:22 PM
Hey guys, does anybody know how to make mockk
any
matcher match objects of one specific class? I imagine something like this:
any<MyClass::class>()
l
Lawik
05/13/2019, 2:17 PM
Maybe slots do what you're looking for?
Lawik
05/13/2019, 2:19 PM
https://mockk.io/#capturing
d
darych
05/13/2019, 2:19 PM
any<MyClass>()
😄 1
👍 1
Open in Slack
Previous
Next