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

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

Types

AssertionCollectorBuilder

object AssertionCollectorBuilder

Delegates inter alia to the implementation of AssertionCollector. In detail, it implements AssertionCollector by delegating to assertionCollector which in turn delegates to the implementation via loadSingleService.

ExplainingAssertionCollectorOption

object ExplainingAssertionCollectorOption

Delegates inter alia to the implementation of ThrowingAssertionCollectorForExplanation and NonThrowingAssertionCollectorForExplanation.

Functions

collectAssertions

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

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