Interface IThrows<TContainer>
Throws() methods.
Namespace: Telerik.JustMock.Expectations.Abstraction
Assembly: Telerik.JustMock.dll
Syntax
public interface IThrows<TContainer>
Type Parameters
TContainer
|
Methods
Throws(Exception)
Throws a the specified exception for target call.
Declaration
IAssertable Throws(Exception exception)
Parameters
System.Exception
exception
|
Returns
IAssertable
|
Throws<TException>()
Throws a the specified exception for target call.
Declaration
IAssertable Throws<TException>()
where TException : Exception
Returns
IAssertable
|
Type Parameters
TException
|
Throws<TException>(Object[])
Throws a the specified exception for target call.
Declaration
IAssertable Throws<TException>(params object[] args)
where TException : Exception
Parameters
System.Object[]
args
|
Returns
IAssertable
|
Type Parameters
TException
|
ThrowsAsync(Exception)
Throws a the specified exception for the target async call causing returned task to fail.
Declaration
IAssertable ThrowsAsync(Exception exception)
Parameters
System.Exception
exception
|
Returns
IAssertable
|
ThrowsAsync<TException>()
Throws a the specified exception for the target async call causing returned task to fail.
Declaration
IAssertable ThrowsAsync<TException>()
where TException : Exception
Returns
IAssertable
|
Type Parameters
TException
|
ThrowsAsync<TException>(Object[])
Throws a the specified exception for the target async call causing returned task to fail.
Declaration
IAssertable ThrowsAsync<TException>(params object[] args)
where TException : Exception
Parameters
System.Object[]
args
|
Returns
IAssertable
|
Type Parameters
TException
|