Setup Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image

Overload List

  NameDescription
Public methodSetup<(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.
Public methodSetup(String, array<Object>[]()[][])
Specifies a setup for a void method invocation with the given voidMethodName, optionally specifying arguments for the method call.

See Also