Struct Times
Fluent builder for specifying the number of rule invocations in a rule firing expectation.
public struct Times
- Inherited Members
Properties
Never
Rule should never fire.
public static Times Never { get; }
Property Value
Once
Rule should fire exactly once.
public static Times Once { get; }
Property Value
Twice
Rule should fire exactly twice.
public static Times Twice { get; }
Property Value
Methods
Exactly(int)
Rule should fire exactly the specified number of times.
public static Times Exactly(int value)
Parameters
value
intNumber of times the rule is expected to fire.