interface DescriptiveAssertionFinalStep : AssertionBuilderFinalStep<DescriptiveAssertion>
(source)
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
Creates and returns the new Assertion. |
fun create(test: () -> Boolean, description: Translatable, representation: Any): DescriptiveAssertionFinalStep |