interface FinalStep : AssertionBuilderFinalStep<DescriptiveAssertion>
Final step which creates a DescriptiveAssertion based on the previously defined test, description and representation.
abstract val description: Translatable
The previously defined DescriptiveAssertion.description. |
|
abstract val representation: Any
The previously defined DescriptiveAssertion.representation. |
|
abstract val test: () -> Boolean
The previously defined test which is used to determine DescriptiveAssertion.holds. |
abstract fun build(): T
|
fun create(test: () -> Boolean, description: Translatable, representation: Any): Descriptive.FinalStep
Factory method to create the FinalStep in the building process of a DescriptiveAssertion based on the given test which indicates whether the assertion holds or not, a description as well as a representation. |