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.
A ThrownInfo containing info about the 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.