Join Slack
Is there a way to mock from a Java class? I am running some parametrized tests and I receive a `Clas...
# mockk
l
Luke
06/05/2020, 5:48 PM
Is there a way to mock from a Java class? I am running some parametrized tests and I receive a
Class<..>
parameter. I want a mock instance of that class.
mockkClass
only takes
KClass
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by