Learn how to write and validate unit tests with JUnit 5. This article shows you how to configure a Maven project for JUnit, write basic and parameterized unit tests, and use JUnit 5’s built-in ...
Joe Walnes built a new assertion mechanism on top of what was then JMock 1. The method name was assertThat, and the syntax looked like this: Custom Matchers. By implementing the Matcher interface ...