Summary
Checks if an exception is of type
System.ArgumentOutOfRangeException
.
- Assembly
- Cake
.Issues .Testing .dll - Namespace
- Cake
.Issues .Testing - Containing Type
- Exception
Assert Extensions
Syntax
public static void IsArgumentOutOfRangeException(this Exception exception, string parameterName)
Attributes
Type | Description |
---|---|
Assertion |
Attribute for marking custom assertion methods. |
Parameters
Name | Type | Description |
---|---|---|
exception | Exception | Exception to check. |
parameterName | string | Expected name of the parameter which has caused the exception. |
Return Value
Type | Description |
---|---|
void |