interface AssertionCollectorForExplanation
Responsible to collect assertions made in a sub-AssertionPlant and intended for explanation.
open fun <T : Any>
Collects the Assertion created by assertionCreator and uses the given maybeSubject as CollectingAssertionPlant.subject if it is MaybeSubject.Present. abstract fun <T, A : BaseAssertionPlant<T, A>, C : BaseCollectingAssertionPlant<T, A, C>>
Collects the Assertion created by assertionCreator with the collecting assertion plant created by the given collectingPlantFactory and uses the given maybeSubject as BaseCollectingAssertionPlant.subject if it is MaybeSubject.Present. |
|
open fun <T>
Collects the Assertion created by assertionCreator and uses the given maybeSubject as CollectingAssertionPlantNullable.subject if it is MaybeSubject.Present. |
interface
Represents an assertion collector meant for explanation which does not throw in case not a single Assertion was collected. |
|
interface
Represents an assertion collector meant for explanation which throws in case not a single Assertion was collected. |