doc / ch.tutteli.atrium.logic.creating.transformers / TransformationExecutionStep / collect

collect

abstract fun collect(assertionCreator: Expect<R>.() -> Unit): Assertion (source)

Finishes the transformation process by collecting the assertions the given assertionCreator creates for the subject of type R resulting from the transformation and returns the assertions as a single Assertion.

Returns
An assertion consisting of all assertions the given assertionCreator creates for the resulting subject of type R.