expect

open override fun expect(expected: ExpectedResult<T>.() -> Unit): ExpectDsl<T>

Creates a dynamic test for custom expectations on the expected result.

Return

This DSL instance for method chaining.

Parameters

expected

A lambda function defining expectations on the ExpectedResult.