doc / ch.tutteli.atrium.domain.builders.creating.collectors

Package ch.tutteli.atrium.domain.builders.creating.collectors

Deprecated - will be removed with 0.17.0. Contains the builder behind ExpectImpl.collector

Functions

collectAssertions

fun <T, G : ExplanatoryAssertionGroupType, R> AssertionsOption<G, R>.collectAssertions(maybeSubject: Option<T>, assertionCreator: Expect<T>.() -> Unit): R

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