fun collect(assertionCreator: Expect<R>.() -> Unit): Assertion
Overrides TransformationExecutionStep.collect
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.