interface AssertionBuilderFinalStep<T : Assertion>
(source)
Final step in the AssertionBuilder process, creates the desired Assertion of type T.
abstract fun build(): T
Creates and returns the new Assertion. |
interface BasicAssertionGroupFinalStep : AssertionBuilderFinalStep<AssertionGroup>
Final step which creates an AssertionGroup with the previously defined groupType, description, representation and assertions. |
|
interface DescriptiveAssertionFinalStep : AssertionBuilderFinalStep<DescriptiveAssertion>
Final step which creates a DescriptiveAssertion based on the previously defined test, description and representation. |
|
interface DescriptiveAssertionWithFailureHintFinalStep : AssertionBuilderFinalStep<Assertion>
Final step which creates a DescriptiveAssertion if the test holds or an AssertionGroup which includes
additionally a failure hint created by the given failureHintFactory in case showHint evaluates to |
|
interface ExplanatoryAssertionFinalStep : AssertionBuilderFinalStep<ExplanatoryAssertion>
Final step which creates an ExplanatoryAssertion based on the previously defined explanation. |
|
interface ExplanatoryAssertionGroupFinalStep : AssertionBuilderFinalStep<AssertionGroup>
Final step which creates an AssertionGroup with an ExplanatoryAssertionGroupType based on the previously defined groupType and the explanatoryAssertions. |