expect

abstract fun expect(expected: ExpectedResult<T>.() -> Unit): SE

Sets expectations on the expected result using a lambda.

Return

The expecter instance for method chaining.

Parameters

expected

A lambda function that configures expectations on an ExpectedResult instance.