class Collector
Collector(throwIfNoAssertionIsCollected: Boolean) |
fun <E : Any> collectAssertionsForExplanation(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. |