CompoundAssertions

interface CompoundAssertions

Returned by Assertion.Builder.compose allowing a bridge between evaluation of composed assertions and the determination of the overall result in the block parameter passed to then.

Methods

then

abstract infix fun then(block: CompoundAssertion.()->Unit): Builder<T>

Determine the overall status of a compound assertion based on the results of its child assertions.

Parameters

Name Description
block: CompoundAssertion.()->Unit

ReturnValue

Name Description
Builder<T>