Verifies that a property was set on the mock.
Namespace:
MoqAssembly: Moq (in Moq.dll) Version: 4.0.812.4 (4.0.0.0)
Syntax
| C# |
|---|
public void VerifySet( Action<T> setterExpression, Times times ) |
Parameters
- setterExpression
- Type: Action<(Of <(T>)>)
Expression to verify.
- times
- Type: Moq..::.Times
The number of times a method is allowed to be called.
Exceptions
| Exception | Condition |
|---|---|
| Moq..::.MockException | The invocation was not call the times specified by times. |