codingcraftsman.wordpress.com
Log4j2 Mocking with Mockito and JUnit
This is an update to the very helpful work done here. I too have needed to put my own appender into a unit test so I can see that the right things are being logged. Depending on the logging framewo…