interface ThrowingAssertionCollectorForExplanation
(source)
Represents an assertion collector meant for explanation which throws in case not a single Assertion was collected.
abstract fun <E : Any> collect(warning: Translatable, assertionCreator: AssertionPlant<E>.() -> Unit, subject: E?): List<Assertion>
Collects the Assertion created by assertionCreator and uses the given subject as CollectingAssertionPlant.subject if not null. |