FailureHandlerStep

Optional step which allows to specify a custom SubjectChanger.FailureHandler.

Parameters

SubjectT

the type of the current subject.

SubjectAfterChangeT

the type of the new subject.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The previously specified transformation which will yield the new subject.

Link copied to clipboard

The so far chosen options up to the TransformationStep step.

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 SubjectT to SubjectIntermediateT as the failure handler only deals with SubjectIntermediateT subjects.