Moq |
IProtectedMock<(Of <(<'TMock>)>)>..::..Setup Method (String, array<Object>[]()[][]) |
IProtectedMock<(Of <(<'TMock>)>)> Interface See Also Send Feedback |
Specifies a setup for a void method invocation with the given
voidMethodName, optionally specifying arguments for the method call.
Namespace: Moq.Protected
Assembly: Moq (in Moq.dll) Version: 4.0.10827.0 (4.0.0.0)
Syntax
Parameters
- voidMethodName
- Type: System..::..String
The name of the void method to be invoked.
- args
- Type: array<System..::..Object>[]()[][]
The optional arguments for the invocation. If argument matchers are used, remember to use ItExpr rather than It.