doc / ch.tutteli.atrium.logic.creating.transformers.impl / BaseTransformationExecutionStep / collectAndAppend

collectAndAppend

fun collectAndAppend(assertionCreator: Expect<R>.() -> Unit): Expect<T>

Overrides TransformationExecutionStep.collectAndAppend

Finishes the transformation process by appending the Assertion which is returned when calling collect with the given assertionCreator.

See collect for more information.

Return
An Expect for the current subject of the assertion.