I have a private variable of another class which i...
# test
a
I have a private variable of another class which is declared and initialised inside my class. this variable calls its class functions inside my current class functions internally. how to test this using MockK in kotlin? Since for testing , i require to mock this variable but it is private.
j
you shouldn’t test anything that is private