fun <T, G : ExplanatoryAssertionGroupType, R> AssertionsOption<G, R>.collectAssertions(container: AssertionContainer<*>, maybeSubject: Option<T>, assertionCreator: Expect<T>.() -> Unit): R
(source)
Collects the assertions assertionCreator creates and uses them as AssertionGroup.assertions.
//TODO 0.17.0 in case we somehow incorporate the current container in AssertionsOptions, then remove container as parameter