verify

open fun verify(): ExpectedResult<T>

Verifies all expectations immediately.

This is a convenience method that calls verify with immediately = true.

Return

The expected result after verification.


abstract fun verify(immediately: Boolean): ExpectedResult<T>

Executes the verification logic after completing the test flow orchestration.

Return

The expected result.

Parameters

immediately

If true, performs verification immediately and throws on failure. If false, returns the result without immediate verification.