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

withDescription

open fun withDescription(description: String): R

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

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