doc / ch.tutteli.atrium.domain.builders.creating.collectors / AssertionCollectorBuilder / forExplanation

forExplanation

inline val forExplanation: ExplainingAssertionCollectorOption
Deprecated: Switch from Assert to Expect and use ExpectImpl.collector.collectForComposition; will be removed with 1.0.0

Returns ExplainingAssertionCollectorOption providing options to create an assertion collector which collects assertions in the context of explaining assertions. It inter alia delegates to the implementation of ThrowingAssertionCollectorForExplanation and NonThrowingAssertionCollectorForExplanation.