interface AssertionFormatterFacadeOption (source)
Provides options to create an AssertionFormatterFacade.
abstract val assertionFormatterController: <ERROR CLASS>
The previously chosen AssertionFormatterController |
|
abstract val objectFormatter: <ERROR CLASS>
The previously chosen ObjectFormatter |
|
abstract val translator: <ERROR CLASS>
The previously chosen Translator |
abstract fun withAssertionFormatterFacade(factory: (<ERROR CLASS>) -> <ERROR CLASS>): AssertionPairFormatterOption
Uses the given factory to build a custom AssertionFormatterFacade. |
|
abstract fun withDefaultAssertionFormatterFacade(): AssertionPairFormatterOption
Uses CoreFactory.newAssertionFormatterFacade as AssertionFormatterFacade. |
fun create(assertionFormatterController: <ERROR CLASS>, objectFormatter: <ERROR CLASS>, translator: <ERROR CLASS>): AssertionFormatterFacadeOption |
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. |