Throws Method

Moq 2.6

Overload List

  NameDescription
Throws<(Of <(TException>)>)()()()
Specifies the type of exception to throw when the method is invoked.
Throws(Exception)
Specifies the exception to throw when the method is invoked.

See Also