Monthly Archives: June 2014

Hamcrest matcher – not

Have you ever had the case where you had to test for the negative of something? I was helping a teammate who wanted to test that a collection was not empty. It was pretty hard to track down how to … Continue reading

Posted in hamcrest, Java, JUnit | Leave a comment