Times Methods
From Moq
The Times type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AtLeast |
Specifies that a mocked method should be invoked callCount times as minimum.
| |
| AtLeastOnce |
Specifies that a mocked method should be invoked one time as minimum.
| |
| AtMost |
Specifies that a mocked method should be invoked callCount time as maximun.
| |
| AtMostOnce |
Specifies that a mocked method should be invoked one time as maximun.
| |
| Between |
Specifies that a mocked method should be invoked between callCountFrom and
callCountTo times.
| |
| Equals |
Determines whether the specified Object is equal to this instance.
(Overrides ValueType..::..Equals(Object).) | |
| Exactly |
Specifies that a mocked method should be invoked exactly callCount times.
| |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueType..::..GetHashCode()()()().) | |
| Never |
Specifies that a mocked method should not be invoked.
| |
| Once |
Specifies that a mocked method should be invoked exactly one time.
|