doc / ch.tutteli.atrium.verbs.expect

Package ch.tutteli.atrium.verbs.expect

Contains the Assertion Verbs functions named expect.

Functions

expect

fun <T : Any> expect(subject: T): <ERROR CLASS>

Creates an IAssertionPlant for subject which immediately evaluates IAssertions.

fun <T : Any> expect(subject: T, createAssertions: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>

Creates an IAssertionPlant for subject which lazily evaluates IAssertions.

fun expect(act: () -> Unit): <ERROR CLASS>

Creates an ThrowableFluent for the given function act.