Moq
Mock<(Of <(T>)>) Methods
Mock<(Of <(T>)>) Class  See Also  Send Feedback

The Mock<(Of <(T>)>) type exposes the following members.

Methods

  NameDescription
As<(Of <(TInterface>)>)
Implements As<(Of <(TInterface>)>)()()().
CreateEventHandler<(Of <(TEventArgs>)>)
Implements CreateEventHandler<(Of <(TEventArgs>)>)()()().
(Inherited from Mock.)
ExpectOverloaded.
ExpectGet<(Of <(TProperty>)>)
Implements ExpectGet<(Of <(TProperty>)>)(Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>)).
ExpectSet<(Of <(TProperty>)>)
Implements ExpectSet<(Of <(TProperty>)>)(Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>)).
GetObject
Returns the mocked object value.
(Overrides Mock..::.GetObject()()().)
VerifyOverloaded.
VerifyAll
Implements VerifyAll()()().
(Overrides Mock..::.VerifyAll()()().)
VerifyGet<(Of <(TProperty>)>)
Implements VerifyGet<(Of <(TProperty>)>)(Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>)).
VerifySet<(Of <(TProperty>)>)
Implements VerifySet<(Of <(TProperty>)>)(Expression<(Of <(Func<(Of <(T, TProperty>)>)>)>)).

See Also

Mock<(Of <(T>)>) Class
Moq Namespace

Send comments on this topic to moqdisc@googlegroups.com