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

AssertionFormatterControllerOption

interface AssertionFormatterControllerOption

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