Expect Method

Moq 2.6

Overload List

  NameDescription
Expect(Expression<(Of <(Action<(Of <(T>)>)>)>))
Sets an expectation on the mocked type for a call to to a void method.
Expect<(Of <(TResult>)>)(Expression<(Of <(Func<(Of <(T, TResult>)>)>)>))
Sets an expectation on the mocked type for a call to to a value returning method.

See Also