Github user sebbASF commented on the pull request:
https://github.com/apache/commons-lang/pull/141#issuecomment-219006770
Note that an alternative solution for testing private methods is to make
them package-protected.
(and document why they are not private!)
The test code needs to access it from the same package, but that is not
usually a problem.
If necessary create a public method in the same package which can be used
by all the test code.
A similar approach can be used for private fields; create a
package-protected getter.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---