doc / ch.tutteli.atrium.domain.assertions.composers / AssertionComposer


interface AssertionComposer
Deprecated: Use ExpectImpl.builder.descriptive.withFailureHint instead; will be removed with 1.0.0

Responsible to compose Assertions based on the AssertionBuilder.



abstract fun createDescriptiveWithFailureHint(description: Translatable, representation: Any, test: () -> Boolean, showHint: () -> Boolean, failureHintFactory: () -> Assertion): Assertion

Shall create kind of a DescriptiveAssertion if test holds or an AssertionGroup which includes additionally a failure hint created by the given failureHintFactory in case showHint evaluates to true.