interface Fun0Assertions
Defines the minimum set of assertion functions and builders applicable to lambdas with arity 0
(i.e. a lambda with 0 arguments or in other words () -> R
),
which an implementation of the domain of Atrium has to provide.
abstract fun <R, T : () -> R> isNotThrowing(expect: Expect<T>): ChangedSubjectPostStep<*, R> |
|
abstract fun <TExpected : Throwable> isThrowing(expect: Expect<() -> Any?>, expectedType: KClass<TExpected>): ChangedSubjectPostStep<*, TExpected> |
object
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. |