atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating.collectors / collectAssertions

collectAssertions

fun <T, G, R> <ERROR CLASS><G, R>.collectAssertions(expect: <ERROR CLASS><T>, assertionCreator: <ERROR CLASS><T>.() -> Unit): <ERROR CLASS> (source)

Collects the assertions assertionCreator creates and uses them as AssertionGroup.assertions.