FailureHintSubjectAbsentOption

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 FailureHintSubjectAbsentOption and serves as extension point.

Properties

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

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

Functions

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

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