Call

public interface Call<R>(source)

Inheritors

Functions

Link copied to clipboard
public R assertNormal()
public R assertNormal(String message)
public abstract R assertNormal(Supplier<String> messageSupplier)
Asserts that the call resulted in a result of type type and returns the result.
Link copied to clipboard
public E assertThrows<E extends Throwable>(Class<E> type)
Asserts that the call resulted in n throwable of type type and returns the throwable.
public E assertThrows<E extends Throwable>(Class<E> type, String message)
public abstract E assertThrows<E extends Throwable>(Class<E> type, Supplier<String> messageSupplier)
Asserts that the call resulted in a throwable of type type and returns the throwable.