- execute() - Method in class org.chrisjaehnen.openlib.testutils.exception.ExpectedThrownException
-
Defines an abstract method to implement in subclasses that executes
code for a test that throws an expected exception.
- executeTest() - Method in class org.chrisjaehnen.openlib.testutils.exception.ExpectedThrownException
-
Executes test code defined in the specified ExpectedThrownException
and asserts if the exception was thrown as expected.
- ExpectedThrownException - Class in org.chrisjaehnen.openlib.testutils.exception
-
The ExpectedThrownException class provides a testing framework for validating
expected exceptions are thrown.
- ExpectedThrownException(Class<? extends Exception>) - Constructor for class org.chrisjaehnen.openlib.testutils.exception.ExpectedThrownException
-
Required constructor that initializes a new instance of the
ExpectedThrownException type with a reference to the class type of the
expected exception.