Code that reassures: assertDoesNotThrow in JUnit 5

preview_player
Показать описание
Ever wonder how to make your code assure your client that you've got everything covered? Use the assertDoesNotThrow method in JUnit 5 to prove that the code their worried about does not throw an exception when they might expect it to.
Рекомендации по теме