title: Warning in JUnit tests
body: <p>I would like to display a warning in a <code>JUnit</code> test. I don't want the test to fail because of that warning but I would like to know that the warning occurs. Obviously, I can use <code>System.err.print</code> or something similar. Now I wonder what is the <em>right</em> way to do it </p>