JUnit AssertThrows to AssertJ exceptionType
MSALConvert JUnit#AssertThrows to AssertJ#assertThatExceptionOfType to allow for chained assertions on the thrown exception.
org. openrewrite. java. testing. assertj. JUnitAssertThrowsToAssertExceptionTypemod run . --recipe= org. openrewrite. java. testing. assertj. JUnitAssertThrowsToAssertExceptionTypeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.