What is wrong with making a unit test a friend of the class it is testing?
1005
How do I test a private function or a class that has private methods, fields or inner classes?
67879
Getting Started with Unit Testing
153748
Test Class for the Apex Class with try Catch block fails
19286
How can I pass a class member function as a callback?
34930
C# "internal" access modifier when doing unit testing
150754
Python - Testing an abstract base class
36865
Unit Test - Creating Custom Metadata
119066
How to access private data members outside the class without making "friend"s?
4485
Can I access private members from outside the class without using friends?
151843
Unit testing that events are raised in C# (in order)
7606
How do I unit test code that includes a callout?
45347
How do you know what to test when writing unit tests?
140736
How to unit test a method with dependencies in PHP?
97127
Made one instance of a class equal to another. – How to cancel that?
50080
Test class get error System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
16882
How can I write a unit test to determine whether an object can be garbage collected?
790
c++ friend function - operator overloading istream >>