If you are using Java, chances are you are using JUnit 5. JUnit 5 provides many possible assertions, however, it's not very clean. The AssertJ library provide a more fluent way to create assertions.
Test Assertions in Java the best way
If you are using Java, chances are you are using JUnit 5. JUnit 5 provides many possible assertions, however, it's not very clean. The AssertJ library provide a more fluent way to create assertions.