interface DefinedOption<T, R, AO : SubjectBasedOption.AbsentOption<T, R>>
(source)
Sub option step in case the subject is defined.
T
- The type of the subject of the assertion
R
- The resulting type which should be created.
abstract fun ifDefined(failureHintFactory: (T) -> R): AO
Defines the failure hint factory which should be used if the subject of the assertion is defined. |
interface FailureHintSubjectDefinedOption<T> : SubjectBasedOption.DefinedOption<T, Assertion, DescriptiveAssertionWithFailureHint.FailureHintSubjectAbsentOption<T>>
Sub Option step to define a failure hint based on a defined subject of the assertion. |
|
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. |