class ThrowableThrownBuilder : ThrowableThrown.Builder
Represents the deprecated entry point of the fluent API of sophisticated a Throwable was thrown
assertions.
It contains the assertionVerb and reporter which will be used to create an AssertionPlantNullable as well as the act function which is expected to throw a Throwable.
ThrowableThrownBuilder(assertionVerb: Translatable, act: () -> Unit, reporter: Reporter)
Represents the entry point of the fluent API of sophisticated a Throwable |
val act: () -> Unit
The function which is expected to throw a Throwable. |
|
val assertionVerb: Translatable
The assertion verb which will be used inter alia in reporting. |
|
val reporter: Reporter
The reporter which will be used for a CoreFactory.newThrowingAssertionChecker. |
fun <TExpected : Throwable> ThrowableThrown.Builder.
Makes the assertion that the thrown Throwable is of type TExpected and holds all assertions the assertionCreator might create in addition. |
|
infix fun <TExpected : Throwable> ThrowableThrown.Builder.
Makes the assertion that the thrown Throwable is of type TExpected and holds all assertions the assertionCreator might create in addition. |
|
fun <TExpected : Throwable> ThrowableThrown.Builder.
Makes the assertion that the thrown Throwable is of type TExpected and holds all assertions the assertionCreator might create in addition. |
|
infix fun <TExpected : Throwable> ThrowableThrown.Builder.
Makes the assertion that the thrown Throwable is of type TExpected and holds all assertions the assertionCreator might create in addition. |
|
fun <TExpected : Throwable> ThrowableThrown.Builder.
Makes the assertion that the thrown Throwable is of type TExpected and holds all assertions the assertionCreator might create in addition. fun <TExpected : Throwable> ThrowableThrown.Builder.
Makes the assertion that the thrown Throwable is of type TExpected. |
|
fun ThrowableThrown.Builder.
Makes the assertion that no Throwable is thrown at all. |