AssertEx.

IsCakeException(Exception, string) Method

Summary

Verifies that the exception is a CakeException with the specified message.
Namespace
Xunit
Containing Type
AssertEx

Syntax

public static void IsCakeException(Exception exception, string message)

Parameters

Name Type Description
exception Exception The exception to verify.
message string The expected message.

Return Value

Type Description
void