fun collectAndAppend(assertionCreator: Expect<R>.() -> Unit): Expect<T>
(source)
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 subject of this expectation.