interface RepresentationStep
(source)
Step which allows to specify an RepresentationOnlyAssertion.representation.
abstract val test: () -> Boolean
The previously defined test which is used to determine DescriptiveAssertion.holds. |
abstract fun withRepresentation(representation: Any?): RepresentationOnly.FinalStep
Uses the given representation as RepresentationOnlyAssertion.representation. |
fun create(test: () -> Boolean): RepresentationOnly.RepresentationStep
Factory method to create the RepresentationStep in the building process of an RepresentationOnlyAssertion. |