From bf97e6dad82ebf119a812fec07c9a47591bccad7 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Tue, 24 Oct 2023 14:06:52 +0200 Subject: [PATCH] Ban use of AssertJ assertThatThrownBy Use assertThatExceptionOfType instead. Closes gh-37968 --- src/checkstyle/checkstyle.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml index c2e87b11b23..1baf2ce374f 100644 --- a/src/checkstyle/checkstyle.xml +++ b/src/checkstyle/checkstyle.xml @@ -46,6 +46,15 @@ value="Please use specialized AssertJ assertThat*Exception method." /> + + + + + +