doc / ch.tutteli.atrium.domain.creating.changers / PostFinalStep / collect

collect

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

Collects the assertions the given assertionCreator might create for the new Expect of the feature and returns them as a single Assertion

Returns
An assertion consisting of all assertions the given assertionCreator might create for the new Expect of the feature.