assertThrows
public static T assertThrows<T extends Throwable>(Callable<? extends Object> callable, Class<T> type, Supplier<String> messageSupplier)(source)
Shortcut for call and assertThrows.
Return
see assertThrows
Parameters
public static T assertThrows<T extends Throwable>(Runnable runnable, Class<T> type, Supplier<String> messageSupplier)(source)
Shortcut for call and assertThrows.
Return
see assertThrows
Parameters
public static T assertThrows<T extends Throwable>(Callable<? extends Object> callable, Class<T> type, String message)(source)
Shortcut for call and assertThrows.
Return
see assertThrows
Parameters
public static T assertThrows<T extends Throwable>(Runnable runnable, Class<T> type, String message)(source)
Shortcut for call and assertThrows.
Return
see assertThrows
Parameters
public static E assertThrows<E extends Throwable>(Callable<? extends Object> callable, Class<E> type)(source)
Shortcut for call and assertThrows.
Return
see assertThrows
Parameters
Shortcut for call and assertThrows.
Return
see assertThrows