Verify that expr throws the templated Exception class. This only succeeds if the expression throws an exception of the exact type of the template parameter.
The caught throwable.
UnitTestException on failure (when expr does not throw the expected exception)
See Implementation
Verify that expr throws the templated Exception class. This only succeeds if the expression throws an exception of the exact type of the template parameter.