expect

open override fun expect(expected: ExpectedResult<S>.() -> Unit): VerifiedStage<S>

Applies additional expectations to the verified result.

Return

this VerifiedStage for method chaining

Parameters

expected

a lambda function that receives the ExpectedResult and performs assertions