interface ObjectFormatterOption (source)
Provides options to create an ObjectFormatter.
abstract val translator: <ERROR CLASS>
The previously chosen Translator. |
abstract fun withDetailedObjectFormatter(): AssertionFormatterControllerOption
Uses CoreFactory.newDetailedObjectFormatter as ObjectFormatter. |
|
abstract fun withObjectFormatter(factory: (<ERROR CLASS>) -> <ERROR CLASS>): AssertionFormatterControllerOption
Uses the given factory to build a custom ObjectFormatter. |
fun create(translator: <ERROR CLASS>): ObjectFormatterOption |
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. |