Have you ever wished you could... magically produce Hamcrest Matchers for all (or just some) of your model or service classes? produce such matchers without polluting your production code with test ...
The ResultSet matcher is the implementation of a Java Hamcrest matcher. The Hamcrest (an anagram of "matchers") suite is a collection of matchers that aim to be written declaratively and provide ...
In the post Improving On assertEquals with JUnit and Hamcrest, I briefly discussed Hamcrest “core” matchers being “baked in” with modern versions of JUnit. In that post, I focused particularly on use ...