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

dave08

01/03/2019, 12:46 PM
How do I mock a public field in a Java class with a package local constructor, I need to pass it to another class's constructor...?
h

Hadi Tok

01/03/2019, 3:52 PM
if it is public field you can just set it.
you saying that you cannot instantiate the class?
5 Views