doc / ch.tutteli.atrium.assertions.builders / DescriptiveAssertionWithFailureHint / ShowSubjectDefinedOption

ShowSubjectDefinedOption

interface ShowSubjectDefinedOption<T> : SubjectBasedOption.DefinedOption<T, Boolean, DescriptiveAssertionWithFailureHint.ShowSubjectAbsentOption<T>>

Sub Option step to define a failure hint based on a defined subject of the assertion.

Inherited Functions

ifDefined

abstract fun ifDefined(failureHintFactory: (T) -> R): AO

Defines the failure hint factory which should be used if the subject of the assertion is defined.

Companion Object Functions

create

fun <T> create(): DescriptiveAssertionWithFailureHint.ShowSubjectDefinedOption<T>