Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun <T> expect(subject: T): Expect<T>

Creates an Expect for the given subject.

abstract fun <T> expect(subject: T, expectationCreator: Expect<T>.() -> Unit): Expect<T>

Creates an Expect for the given subject and appends the expectations the given expectationCreator-lambda creates as group to it.

Link copied to clipboard
abstract fun expectGrouped(description: String?, groupingActions: ExpectGrouping.() -> Unit): ExpectGrouping

Creates an ExpectGrouping which can be used to group multiple unrelated subjects.