Unit testing of private methods
1005
How do I test a private function or a class that has private methods, fields or inner classes?
136751
How to add test coverage to a private constructor?
63077
Why can I access my private variables of the "other" object directly, in my equals(Object o) method
99209
Why are private fields private to the type, not the instance?
4485
Can I access private members from outside the class without using friends?
1279
What is the difference between public, protected, package-private and private in Java?
98099
How to include inner class/wrapper class in test method?
66147
How do I invoke a private static method using reflection (Java)?
137841
Private Interfaces
26666
In a PHP5 class, when does a private constructor get called?
69371
Is this a variation of an anonymous inner class?
26273
Best way to define private methods for a class in Objective-C
140736
How to unit test a method with dependencies in PHP?
23607
Can inner classes access private variables?
16882
How can I write a unit test to determine whether an object can be garbage collected?
134279
"Overloading" a private method in PHP
51277
Private Member Access Java