C# Class PclUnit.Constraints.Pieces.ThrowsOperator

Operator that tests that an exception is thrown and optionally applies further tests to the exception.
Inheritance: SelfResolvingOperator
Mostra file Open project: jbtule/PclUnit

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 ( )