Interface ResultOfExceptionalCall.Builder<T extends Exception>
- Type Parameters:
T- the type of the expected exception
- All Superinterfaces:
Result.Builder<ResultOfExceptionalCall<T>,ActualException<T>, TestOfExceptionalCall<T>, ExpectedException<T>, ResultOfExceptionalCall.Builder<T>>
- All Known Implementing Classes:
BasicResultOfExceptionalCall.Builder
- Enclosing interface:
ResultOfExceptionalCall<T extends Exception>
public static interface ResultOfExceptionalCall.Builder<T extends Exception>
extends Result.Builder<ResultOfExceptionalCall<T>,ActualException<T>,TestOfExceptionalCall<T>,ExpectedException<T>,ResultOfExceptionalCall.Builder<T>>
A builder for results of throwable calls.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA factory forresult of throwable call builders. -
Method Summary
Modifier and TypeMethodDescriptiondefault ResultOfExceptionalCall.Builder<T>Set the actual exception of the correct type and if this exception fulfils the expected throwable.Methods inherited from interface org.tudalgo.algoutils.tutor.general.assertions.Result.Builder
actual, build, exception, test
-
Method Details
-
actual
Set the actual exception of the correct type and if this exception fulfils the expected throwable.
- Parameters:
exception- the actual exception- Returns:
- this bbuilder
-