News for hackers. Stuff that matters.
Re:Unit Testing Private Methods by platinumdragon on Monday February 10, 2014 @07:58AM (#7210714)
This is exactly the method I advocate at work. The package private access type is perfect for testing. We have a small reflection library for use when package private isn't appropriate, but it just isn't that often.