Compares either the type of an exception to an expected exception type. If in addition to that a particular exception object has been supplied, the exception will be compared to it, too.
'true', when the actualException is acceptable, 'false' otherwise.
ExpectedExceptionAttribute Class | csUnit Namespace