doc / ch.tutteli.atrium.assertions.builders / AssertionGroupDescriptionAndEmptyRepresentationOption / withDescription

withDescription

open fun withDescription(description: String): R (source)

Wraps the given description into an Untranslatable and uses it as AssertionGroup.description and uses Text.EMPTY as AssertionGroup.representation.

abstract fun withDescription(description: Translatable): R (source)

Uses the given description as AssertionGroup.description and Text.EMPTY as AssertionGroup.representation.