collect

abstract fun collect(assertionCreator: Expect<FeatureT>.() -> Unit): Assertion(source)

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