ExpectationVerbs
Represents a facade to all the different expectation verb functions.
Since
1.3.0
Properties
Link copied to clipboard
Defines the default description which shall be used for expectGrouped.
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun expectGrouped(description: String = defaultExpectGroupDescription, groupingActions: ExpectGrouping.() -> Unit): ExpectGrouping
Delegates to a root ExpectGrouping verb.
Link copied to clipboard
Delegates to an expectation verb within an ExpectGrouping-lambda and uses the given expectGrouping as receiver.
abstract fun <T> expectInExpectGrouped(expectGrouping: ExpectGrouping, subject: T, expectationCreator: Expect<T>.() -> Unit): Expect<T>
Delegates to an expectation verb within an ExpectGrouping-lambda and uses the given expectGrouping as receiver and appends the expectations the expectationCreator creates.