Moq |
IProtectedMock<(Of <(<'TMock>)>)>..::..VerifySet<(Of <(<'TProperty>)>)> Method |
IProtectedMock<(Of <(<'TMock>)>)> Interface See Also Send Feedback |
Specifies a setup for an invocation on a property setter with the given
propertyName.
Namespace: Moq.Protected
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)
Syntax
Parameters
- propertyName
- Type: System..::..String
The name of the property.
- times
- Type: Moq..::..Times
The number of times a method is allowed to be called.
- value
- Type: System..::..Object
The property value.
Type Parameters
Exceptions
Exception | Condition |
---|---|
Moq..::..MockException | The invocation was not call the times specified by times. |