







|
| Moq |
| IProtectedMock..::.Expect Method (, array<>[]()[]) |
| IProtectedMock Interface See Also Send Feedback |
Sets an expectation on the void method with the given
voidMethodName, optionally specifying
arguments for the method call.
Namespace:
Moq.Protected
Assembly:
Moq (in Moq.dll) Version: 2.6.1014.1 (2.6.0.0)
Syntax
| C# |
|---|
IExpect Expect( string voidMethodName, params Object[] args ) |
Parameters
- voidMethodName
- Type: String
Name of the void method to be invoke.
- args
- Type: array<
Object
>[]()[]
Optional arguments for the invocation.
