doc / ch.tutteli.atrium.domain.builders.reporting / AssertionFormatterControllerOption

AssertionFormatterControllerOption

interface AssertionFormatterControllerOption (source)
Deprecated: Configure components via withOptions when creating an expectation verb instead; will be removed with 0.17.0

Provides options to create an AssertionFormatterController.

Properties

objectFormatter

abstract val objectFormatter: ObjectFormatter

The previously chosen ObjectFormatter.

translator

abstract val translator: Translator

The previously chosen Translator.

Functions

withAssertionFormatterController

abstract fun withAssertionFormatterController(assertionFormatterController: AssertionFormatterController): AssertionFormatterFacadeOption

Uses the given assertionFormatterController as custom AssertionFormatterController.

withDefaultAssertionFormatterController

abstract fun withDefaultAssertionFormatterController(): AssertionFormatterFacadeOption

Uses CoreFactory.newAssertionFormatterController as AssertionFormatterController.

Companion Object Functions

create

fun create(objectFormatter: ObjectFormatter, translator: Translator): AssertionFormatterControllerOption