Expect Method

Moq 2.6

Overload List

  NameDescription
Expect<(Of <(TResult>)>)(String, array<Object>[]()[])
Sets an expectation on a property or a non void method with the given methodOrPropertyName, optionally specifying arguments for the method call.
Expect(String, array<Object>[]()[])
Sets an expectation on the void method with the given voidMethodName, optionally specifying arguments for the method call.

See Also