interface Fun0Assertions
(source)
Collection of assertion functions and builders which are applicable to subjects with a kotlin.Function0 type.
abstract fun <R, T : () -> R> notToThrow(container: AssertionContainer<T>): ChangedSubjectPostStep<*, R> |
|
abstract fun <TExpected : Throwable> toThrow(container: AssertionContainer<() -> Any?>, expectedType: KClass<TExpected>): ChangedSubjectPostStep<*, TExpected> |