Table of Contents

Interface IRulesFiringVerification<TVerification>

Namespace
NRules.Testing
Assembly
NRules.Testing.dll

Fluent interface to build rules firing verification.

public interface IRulesFiringVerification<out TVerification>

Type Parameters

TVerification

Methods

Rule()

Firing verification for a single registered rule under test.

TVerification Rule()

Returns

TVerification

Specific rule firing verification builder.

Rule(string)

Firing verification for a registered rule under test with the specified name. Call this if you have multiple registered rules under test, or want to be specific.

TVerification Rule(string ruleName)

Parameters

ruleName string

Name of the rule to verify its firing.

Returns

TVerification

Specific rule firing verification builder.

Rule(Type)

Firing verification for a registered rule under test with the specified rule type. Call this if you have multiple registered rules under test, or want to be specific.

TVerification Rule(Type ruleType)

Parameters

ruleType Type

Type of the rule to verify its firing.

Returns

TVerification

Specific rule firing verification builder.

Rule<TRule>()

Firing verification for a registered rule under test with the specified rule type. Call this if you have multiple registered rules under test, or want to be specific.

TVerification Rule<TRule>() where TRule : Rule

Returns

TVerification

Specific rule firing verification builder.

Type Parameters

TRule

Type of the rule to verify its firing.