Show / Hide Table of Contents

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 Source

Throws(Type, Action)

Declaration
public static void Throws(Type expectedExceptionType, Action action)
Parameters
Type Name Description
System.Type expectedExceptionType
System.Action action
View Source

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
  • View Source
Back to top Generated by DocFX