interface FinalStep : AssertionBuilderFinalStep<RepresentationOnlyAssertion>
Final step which creates an RepresentationOnlyAssertion based on the previously defined representation.
abstract val representation: Any?
The previously defined RepresentationOnlyAssertion.representation. |
|
abstract val test: () -> Boolean
The previously defined test which is used to determine DescriptiveAssertion.holds. |
abstract fun build(): T
|
fun create(test: () -> Boolean, representation: Any?): RepresentationOnly.FinalStep
Factory method to create the FinalStep in the building process of a RepresentationOnlyAssertion based on the given test and representation. |