title: Is there any simple pattern of slf4j usage in unit tests?
body: <p>I'm using JUnit4 and Hibernate3 in my project. Hibernate depends on Slf4j and thus my project includes this library as well. Now I'd like to use Slf4j in unit tests in order to log supplementary testing information. Could you please provide a short example of how my unit test should look like in order to log just one line of text? Preferably <strong>without code duplication</strong> in multiple tests.</p>