object Fun0AssertionsBuilder (source)
Delegates inter alia to the implementation of Fun0Assertions. In detail, it implements Fun0Assertions by delegating to fun0Assertions which in turn delegates to the implementation via loadSingleService.
fun <R, T : () -> R> isNotThrowing(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <TExpected : Throwable> isThrowing(expect: <ERROR CLASS><() -> Any?>, expectedType: KClass<TExpected>): <ERROR CLASS> |
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. |