How do I mock a public field in a Java class with ...
# mockk
d
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
if it is public field you can just set it.
you saying that you cannot instantiate the class?