ShowSubjectAbsentOption

Sub Option step to define a failure hint in case the subject of the expectation is not defined.

Types

Link copied to clipboard
object Companion

Provides factory methods to create a ShowSubjectAbsentOption and serves as extension point.

Properties

Link copied to clipboard
abstract val ifDefined: (T) -> Boolean

The previously defined factory in case the subject of the expectation is defined.

Functions

Link copied to clipboard
open infix fun ifAbsent(failureHintFactory: () -> Boolean): Pair<() -> Boolean, (T) -> Boolean>

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