run

public abstract ResultOfExceptionalCall<T> run(Callable callable)(source)

Tests if the callable throws an exception and if the exception is as expected.

Return

the result of the test

Parameters

callable

the callable under test