doc / ch.tutteli.atrium.assertions.builders / Descriptive / DescriptionOption / withDescriptionAndRepresentation

withDescriptionAndRepresentation

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

Uses the given description as DescriptiveAssertion.description and representation as DescriptiveAssertion.representation unless representation is null in which case a representation for null is used (e.g. RawString.NULL).