Improve test readability with matchers
7th Jun 2021 by Aneesh Mistry
Using Matchers with assertions
Matchers can be used with external libraries such as Hamcrest, FEST and AssertJ to improve the readability of the assertions we write in our test classes. Learn about the different matchers that are available as standard from the AssertJ library as we refactor assertions made in JUnit to be more readable.