Show / Hide Table of Contents

Class ExceptionAssert

Inheritance
object
ExceptionAssert
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
Type expectedExceptionType
Action action
View Source

Throws<TException>(Action)

Declaration
public static void Throws<TException>(Action action) where TException : Exception
Parameters
Type Name Description
Action action
Type Parameters
Name Description
TException
  • View Source
Back to top Generated by DocFX