Answer the question
In order to leave comments, you need to log in
In what situations when testing might you need Reflection?
Reflection is a very powerful tool in the right hands, but inept use can lead to problems.
Interested in the question in what situations when testing it is appropriate, and in what - no.
Answer the question
In order to leave comments, you need to log in
Actually, it's never appropriate. Unless you are writing a framework like Mockito.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question