doc / ch.tutteli.atrium.assertions.builders / AssertionGroupDescriptionAndRepresentationOption / withDescriptionAndRepresentation

withDescriptionAndRepresentation

open fun withDescriptionAndRepresentation(description: Translatable, representationProvider: () -> Any): R (source)

Uses the given description as AssertionGroup.description and representationProvider to create a LazyRepresentation which is used as AssertionGroup.representation.

abstract fun withDescriptionAndRepresentation(description: Translatable, representation: Any): R (source)

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