Summary
Asserts that the code represented by a delegate throws an exception
that satisfies the constraint provided.
Syntax
public static void Unless(TestDelegate code, IResolveConstraint constraint)
Parameters
| Name | Type | Description |
|---|---|---|
| code | TestDelegate | A TestDelegate to be executed |
| constraint | IResolveConstraint | A Constraint expression to be applied |
Return Value
| Type | Description |
|---|---|
| void |
