Contains the builder behind ExpectImpl.collector
object AssertionCollectorBuilder : AssertionCollector
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. |
|
object
Delegates inter alia to the implementation of ThrowingAssertionCollectorForExplanation and NonThrowingAssertionCollectorForExplanation. |
fun <T, G : ExplanatoryAssertionGroupType, R> AssertionsOption<G, R>.collectAssertions(expect: Expect<T>, assertionCreator: Expect<T>.() -> Unit): R 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. |