DefinedOption

Sub option step in case the subject is defined.

Parameters

T

The type of the subject of the expectation

R

The resulting type which should be created.

Inheritors

Functions

Link copied to clipboard
abstract fun ifDefined(failureHintFactory: (T) -> R): AO

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