ExceptionAssertExtensions Class

Summary

Extensions for asserting exceptions.
Assembly
Cake.Issues.Testing.dll
Namespace
Cake.Issues.Testing
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ExceptionAssertExtensions"] class Type type-node

Syntax

public static class ExceptionAssertExtensions

Methods

Name Value Summary
IsArgumentException(Exception, string) void
Checks if an execption is of type System.ArgumentException.
static
IsArgumentNullException(Exception, string) void
Checks if an execption is of type System.ArgumentNullException.
static
IsArgumentOutOfRangeException(Exception, string) void
Checks if an execption is of type System.ArgumentOutOfRangeException.
static
IsInvalidOperationException(Exception, string) void
Checks if an execption is of type System.InvalidOperationException.
static
GitHub