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