query: Is it bad practice to use Reflection in Unit testing?
positive_passages.docid: 1005
positive_passages.text: How do I test a private function or a class that has private methods, fields or inner classes?
negative_passages.docid: 69646
negative_passages.text: Java Reflection Performance
negative_passages.docid: 123363
negative_passages.text: Reflection: How to Invoke Method with parameters
negative_passages.docid: 5245
negative_passages.text: When should I use an interface in java?
negative_passages.docid: 55032
negative_passages.text: Why do I need an IoC container as opposed to straightforward DI code?
negative_passages.docid: 7585
negative_passages.text: How to get rid of an object's reflection?
negative_passages.docid: 47352
negative_passages.text: Dependency Injection vs Factory Pattern
negative_passages.docid: 36585
negative_passages.text: Calling a function using reflection that has a "params" parameter (MethodBase)
negative_passages.docid: 72740
negative_passages.text: Invoking methods with optional parameters through reflection
negative_passages.docid: 153366
negative_passages.text: Is there any benefit of using an Object Initializer?
negative_passages.docid: 60540
negative_passages.text: Should I instantiate instance variables on declaration or in the constructor?
negative_passages.docid: 1477
negative_passages.text: Using property() on classmethods
negative_passages.docid: 60420
negative_passages.text: Can constructors throw exceptions in Java?
negative_passages.docid: 4601
negative_passages.text: What is reflection and why is it useful?
negative_passages.docid: 7606
negative_passages.text: How do I unit test code that includes a callout?
negative_passages.docid: 25436
negative_passages.text: Factory Pattern. When to use factory methods?
negative_passages.docid: 3018
negative_passages.text: Any reason to prefer getClass() over instanceof when generating .equals()?