Summary
Initializes a new instance of the
ThrowsConstraint
class,
using a constraint to be applied to the exception.
- Namespace
- TCLite
.Constraints - Containing Type
- ThrowsConstraint
Syntax
public ThrowsConstraint(IConstraint baseConstraint)
Parameters
Name | Type | Description |
---|---|---|
baseConstraint | IConstraint | A constraint to apply to the caught exception. |
Return Value
Type | Description |
---|---|
void |