collect

override fun collect(assertionCreator: Expect<SubjectAfterTransformationT>.() -> Unit): Assertion(source)

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