Summary
Creates a constraint specifying the type of exception expected
Syntax
public static InstanceOfTypeConstraint InstanceOf(Type expectedType)
Parameters
| Name | Type | Description |
|---|---|---|
| expectedType | Type |
Return Value
| Type | Description |
|---|---|
| Instance |
