Mocks Methods

Moq

Collapse imageExpand ImageCopy imageCopyHover image

Methods

  NameDescription
Public methodStatic memberOf<(Of <<'(T>)>>)()()()()
Access the universe of mocks of the given type, to retrieve those that behave according to the LINQ query specification.
Public methodStatic memberOf<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>))
Public methodStatic memberOneOf<(Of <<'(T>)>>)()()()() Obsolete.
Creates an mock object of the indicated type.
Public methodStatic memberOneOf<(Of <<'(T>)>>)(Expression<(Of <<'(Func<(Of <(<'T, TResult>)>)>>)>>)) Obsolete.

See Also