Moq |
IProtectedMock<(Of <(<'TMock>)>)> Methods |
IProtectedMock<(Of <(<'TMock>)>)> Interface See Also Send Feedback |
The IProtectedMock<(Of <(<'TMock>)>)> type exposes the following members.
Methods
Name | Description | |
---|---|---|
Setup(String, array<Object>[]()[][]) |
Specifies a setup for a void method invocation with the given
voidMethodName, optionally specifying arguments for the method call.
| |
Setup<(Of <<'(TResult>)>>)(String, array<Object>[]()[][]) |
Specifies a setup for an invocation on a property or a non void method with the given
methodOrPropertyName, optionally specifying arguments for the method call.
| |
SetupGet<(Of <<'(TProperty>)>>) |
Specifies a setup for an invocation on a property getter with the given
propertyName.
| |
SetupSet<(Of <<'(TProperty>)>>) |
Specifies a setup for an invocation on a property setter with the given
propertyName.
| |
Verify(String, Times, array<Object>[]()[][]) |
Specifies a verify for a void method with the given methodName,
optionally specifying arguments for the method call. Use in conjuntion with the default
Loose.
| |
Verify<(Of <<'(TResult>)>>)(String, Times, array<Object>[]()[][]) |
Specifies a verify for an invocation on a property or a non void method with the given
methodName, optionally specifying arguments for the method call.
| |
VerifyGet<(Of <<'(TProperty>)>>) |
Specifies a verify for an invocation on a property getter with the given
propertyName.
The invocation was not call the times specified by
times. | |
VerifySet<(Of <<'(TProperty>)>>) |
Specifies a setup for an invocation on a property setter with the given
propertyName.
|