atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.reporting / AssertionFormatterChosenOptions

AssertionFormatterChosenOptions

data class AssertionFormatterChosenOptions (source)

Represents the so far chosen options which are relevant to create AssertionFormatters.

Parameters

assertionFormatterFacade - The previously chosen AssertionFormatterFacade

objectFormatter - The previously chosen ObjectFormatter

translator - The previously chosen Translator

Constructors

<init>

AssertionFormatterChosenOptions(assertionFormatterFacade: <ERROR CLASS>, objectFormatter: <ERROR CLASS>, translator: <ERROR CLASS>)

Represents the so far chosen options which are relevant to create AssertionFormatters.

Properties

assertionFormatterFacade

val assertionFormatterFacade: <ERROR CLASS>

The previously chosen AssertionFormatterFacade

objectFormatter

val objectFormatter: <ERROR CLASS>

The previously chosen ObjectFormatter

translator

val translator: <ERROR CLASS>

The previously chosen Translator

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.