ExpectSet Method

Moq 2.6

Overload List

  NameDescription
ExpectSet<(Of <(TProperty>)>)(Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>))
Sets an expectation on the mocked type for a call to to a property setter.
ExpectSet<(Of <(TProperty>)>)(Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>), TProperty)
Sets an expectation on the mocked type for a call to to a property setter with a specific value.

See Also