doc / ch.tutteli.atrium.logic.impl / DefaultFun0Assertions / toThrow

toThrow

fun <TExpected : Throwable> toThrow(container: AssertionContainer<() -> Any?>, expectedType: KClass<TExpected>): SubjectChangerBuilder.ExecutionStep<*, TExpected> (source)

Overrides Fun0Assertions.toThrow