collect

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

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.