AssertEx.

IsArgumentOutOfRangeException(Exception, string) Method

Summary

Verifies that the exception is an ArgumentOutOfRangeException with the specified parameter name.
Namespace
Xunit
Containing Type
AssertEx

Syntax

public static void IsArgumentOutOfRangeException(Exception exception, string parameterName)

Parameters

Name Type Description
exception Exception The exception to verify.
parameterName string The expected parameter name.

Return Value

Type Description
void