Class ExceptionAssert
Inheritance
System.Object
ExceptionAssert
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.QualityTools.Testing
Assembly: Sartorius.SAF.QualityTools.dll
Syntax
public static class ExceptionAssert
Methods
View SourceThrows(Type, Action)
Declaration
public static void Throws(Type expectedExceptionType, Action action)
Parameters
Type | Name | Description |
---|---|---|
System.Type | expectedExceptionType | |
System.Action | action |
Throws<TException>(Action)
Declaration
public static void Throws<TException>(Action action)
where TException : Exception
Parameters
Type | Name | Description |
---|---|---|
System.Action | action |
Type Parameters
Name | Description |
---|---|
TException |