interface AssertionFormatterControllerOption (source)
Provides options to create an AssertionFormatterController.
abstract val objectFormatter: <ERROR CLASS>
The previously chosen ObjectFormatter. |
|
abstract val translator: <ERROR CLASS>
The previously chosen Translator. |
abstract fun withAssertionFormatterController(assertionFormatterController: <ERROR CLASS>): AssertionFormatterFacadeOption
Uses the given assertionFormatterController as custom AssertionFormatterController. |
|
abstract fun withDefaultAssertionFormatterController(): AssertionFormatterFacadeOption
Uses CoreFactory.newAssertionFormatterController as AssertionFormatterController. |
fun create(objectFormatter: <ERROR CLASS>, translator: <ERROR CLASS>): AssertionFormatterControllerOption |
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. |