interface ExpectationBuilder
Receiver for expect providing functions that define assertion subjects and create assertion chains or blocks.
catching |
Start a chain of assertions over the result of action. abstract fun <T> catching(action: suspend () -> T): DescribeableBuilder<Result<T>> |
that |
Start a chain of assertions over subject. abstract fun <T> that(subject: T): DescribeableBuilder<T>
Evaluate a block of assertions over subject. abstract fun <T> that(subject: T, block: Builder<T>.() -> Unit): DescribeableBuilder<T> |