Builder

public interface Builder<TT extends Test<TT, ET, RT, AT>, ET extends Expected, RT extends Result<RT, AT, TT, ET>, AT extends Actual, BT extends Test.Builder<TT, ET, RT, AT, BT>>(source)

A builder for tests.

Parameters

<TT>

the type of the test

<ET>

the type of the expected behavior

<RT>

the type of the result

<AT>

the type of the actual behavior

<BT>

the type of the builder

Inheritors

Types

Link copied to clipboard
public interface Factory<TT extends Test<TT, ET, RT, AT>, ET extends Expected, RT extends Result<RT, AT, TT, ET>, AT extends Actual, BT extends Test.Builder<TT, ET, RT, AT, BT>>
A factory for test builders.

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.