AssertEx.

IsExceptionWithMessage<T>(Exception, string) Method

Namespace
Xunit
Containing Type
AssertEx

Syntax

public static void IsExceptionWithMessage<T>(Exception exception, string message) 
    where T : Exception

Type Parameters

Name Description
T

Parameters

Name Type Description
exception Exception
message string

Return Value

Type Description
void