Create Method

Moq

Collapse imageExpand ImageCopy imageCopyHover image

Overload List

  NameDescription
Public methodCreate<(Of <<'(T>)>>)()()()()
Creates a new mock with the default MockBehavior specified at factory construction time.
(Inherited from MockFactory.)
Public methodCreate<(Of <<'(T>)>>)(array<Object>[]()[][])
Creates a new mock with the default MockBehavior specified at factory construction time and with the the given constructor arguments for the class.
(Inherited from MockFactory.)
Public methodCreate<(Of <<'(T>)>>)(MockBehavior)
Creates a new mock with the given behavior.
(Inherited from MockFactory.)
Public methodCreate<(Of <<'(T>)>>)(MockBehavior, array<Object>[]()[][])
Creates a new mock with the given behavior and with the the given constructor arguments for the class.
(Inherited from MockFactory.)

See Also