Builder

public interface Builder<T extends Exception> implements Test.Builder<TT, ET, RT, AT, BT>(source)

A builder for tests of throwable calls.

Parameters

<T>

the type of the expected exception

Inheritors

Types

Link copied to clipboard
public interface Factory<T extends Exception> implements Test.Builder.Factory<TT, ET, RT, AT, BT>

Functions

Link copied to clipboard
public abstract TT build()
Builds a test with the configured properties and return this.
Link copied to clipboard
public abstract BT expected(ET expected)
Sets the expected behavior.