interface AssertionCollector
(source)
Responsible to collect assertions made in a sub-AssertionPlant.
open fun <T : Any> collect(plant: AssertionPlant<T>, subPlantAndAssertionCreator: CollectingAssertionPlant<T>.() -> Unit): AssertionGroup abstract fun <T : Any> collect(subjectProvider: () -> T, subPlantAndAssertionCreator: CollectingAssertionPlant<T>.() -> Unit): AssertionGroup
Use this function if you want to make Assertion about a feature or you perform a type transformation or any other action which results in a sub-AssertionPlant being created and you do not require this resulting plant. |
object AssertionCollectorBuilder : AssertionCollector
Delegates inter alia to the implementation of AssertionCollector. In detail, it implements AssertionCollector by delegating to assertionCollector which in turn delegates to the implementation via ServiceLoader. |