FailureHandlerStepImpl

Constructors

Link copied to clipboard
constructor(transformationStep: SubjectChangerBuilder.TransformationStep<T>, transformation: (T) -> Option<R>)

Functions

Link copied to clipboard
Link copied to clipboard

Uses the default SubjectChanger.FailureHandler which builds the failing assertion based on the specified TransformationStep.description and TransformationStep.representation and includes the assertions a given assertionCreator lambda would create.

Link copied to clipboard

Uses the given failureHandler as SubjectChanger.FailureHandler to create the failing assertion in case the subject change fails.

Link copied to clipboard

Uses the given failureHandler as SubjectChanger.FailureHandler to create the failing assertion in case the subject change fails but previously maps the subject from T to R1 as the failure handler only deals with R1 subjects.

Properties

Link copied to clipboard
open override val transformation: (T) -> Option<R>

The previously specified transformation which will yield the new subject.

Link copied to clipboard

The so far chosen options up to the TransformationStep step.