Interface Test.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>>
- Type Parameters:
TT- the type of the testET- the type of the expected behaviorRT- the type of the resultAT- the type of the actual behaviorBT- the type of the builder
- All Known Subinterfaces:
Fail.Builder,TestOfCall.Builder,TestOfExceptionalCall.Builder<T>,TestOfObject.Builder<T>
- All Known Implementing Classes:
BasicFail.Builder,BasicTest.Builder,BasicTestOfCall.Builder,BasicTestOfExceptionalCall.Builder,BasicTestOfObject.Builder
- Enclosing interface:
Test<TT extends Test<TT,ET, RT, AT>, ET extends Expected, RT extends Result<RT, AT, TT, ET>, AT extends Actual>
public static interface Test.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>>
A builder for tests.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
build
TT build()Builds a test with the configured properties and return this.- Returns:
- the test
-
expected
Sets the expected behavior.
- Parameters:
expected- the expected behavior- Returns:
- this builder
-