Learn how to use supplier lambdas instead of strings in order to do lazy evaluation of assert messages.
Source code available here: [ Ссылка ]
JUnit 5 Basics is an introduction to the JUnit Jupiter testing framework. JUnit is the defacto standard for testing in Java. learn about how to use JUnit to write effective tests. Understand the features of JUnit including the `@Test` annotation, assertion APIs, test lifecycle and controlling executions.
![](https://i.ytimg.com/vi/S-hk1jFdZfA/maxresdefault.jpg)