title: How do I test a class that has private methods, fields or inner classes?
body: <p>How do I use JUnit to test a class that has internal private methods, fields or nested classes?</p>
  <p>It seems bad to change the access modifier for a method just to be able to run a test.</p>