object ExplainingAssertionCollectorOption (source)Delegates inter alia to the implementation of ThrowingAssertionCollectorForExplanation and NonThrowingAssertionCollectorForExplanation.
val doNotThrowIfNoAssertionIsCollected: <ERROR CLASS>
Choosing this option will ignore use cases where not a single Assertion was collected. |
|
val throwIfNoAssertionIsCollected: <ERROR CLASS>
Choosing this option causes the AssertionCollector to throw an IllegalArgumentException in case not a single Assertion was collected. |
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. |