C# Class UnityEngine.NUnit.Framework.Constraints.ThrowsOperator

Operator that tests that an exception is thrown and optionally applies further tests to the exception.
Inheritance: SelfResolvingOperator
Show file Open project: Unity-Technologies/nunitv2

Public Methods

Method Description
Reduce ( ConstraintBuilder stack ) : void

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.

ThrowsOperator ( )

Construct a ThrowsOperator

Method Details

Reduce() public method

Reduce produces a constraint from the operator and any arguments. It takes the arguments from the constraint stack and pushes the resulting constraint on it.
public Reduce ( ConstraintBuilder stack ) : void
stack ConstraintBuilder
return void

ThrowsOperator() public method

Construct a ThrowsOperator
public ThrowsOperator ( )