doc / ch.tutteli.atrium.logic / collectAndLogicAppend

collectAndLogicAppend

fun <T, R> TransformationExecutionStep<T, R, *>.collectAndLogicAppend(assertionCreator: AssertionContainer<R>.() -> Assertion): Expect<T> (source)

Finishes the transformation process by appending the Assertion which is returned when calling TransformationExecutionStep.collectAndAppend with _logicAppend and the given assertionCreator.

See collectBasedOnSubject for more information.

Return
an Expect for the subject of this expectation.