Class AssertThrows

java.lang.Object
org.junit.jupiter.api.AssertThrows

class AssertThrows extends Object
AssertThrows is a collection of utility methods that support asserting an exception of an expected type is thrown.
Since:
5.0