Warn.

Unless(TestDelegate, IResolveConstraint) Method

Summary

Asserts that the code represented by a delegate throws an exception that satisfies the constraint provided.
Namespace
TCLite
Containing Type
Warn

Syntax

public static void Unless(TestDelegate code, IResolveConstraint constraint)

Parameters

Name Type Description
code TestDelegate A TestDelegate to be executed
constraint IResolveConstraint A Constraint expression to be applied

Return Value

Type Description
void