Contains helper functions to collection Assertions.
fun <T, G : ExplanatoryAssertionGroupType, R : ExplanatoryAssertionGroupFinalStep> AssertionsOption<G, R>.collectAssertions(container: AssertionContainer<*>, maybeSubject: Option<T>, assertionCreator: Expect<T>.() -> Unit): ExplanatoryAssertionGroupFinalStep
Collects the assertions assertionCreator creates and uses them as AssertionGroup.assertions. |