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.
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.