doc / ch.tutteli.atrium.assertions.throwable.thrown.builders / ThrowableThrownBuilder / <init>

<init>

ThrowableThrownBuilder(assertionVerb: Translatable, act: () -> Unit, reporter: Reporter)

Represents the entry point of the fluent API of sophisticated a Throwable was thrown assertions.

Parameters

assertionVerb - The assertion verb which will be used inter alia in reporting.

act - The function which is expected to throw a Throwable.

reporter - The reporter which will be used for a CoreFactory.newThrowingAssertionChecker.

Constructor
Represents the entry point of the fluent API of sophisticated a Throwable was thrown assertions.