TutorAssertions
Functions
Link copied to clipboard
Shortcut for call and assertNormal.
Link copied to clipboard
public static E assertThrows<E extends Throwable>(Callable<? extends Object> callable, Class<E> type)
public static T assertThrows<T extends Throwable>(Runnable runnable, Class<T> type, Supplier<String> messageSupplier)
public static T assertThrows<T extends Throwable>(Callable<? extends Object> callable, Class<T> type, String message)
public static T assertThrows<T extends Throwable>(Callable<? extends Object> callable, Class<T> type, Supplier<String> messageSupplier)
Shortcut for call and assertThrows.