Call.throws

When the method which matches this expectation is called, throw the given exception. If there are any actions specified (via the action method), they will not be executed.

struct Call(alias F)
ref
typeof(this)
throws
(
Exception exception
)

Parameters

exception Exception

The exception to throw.

Return Value

Type: typeof(this)

$(D_KEYWORD this).

Meta