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