FailureHandlerStep
Optional step which allows to specify a custom SubjectChanger.FailureHandler.
Parameters
the type of the current subject.
the type of the new subject.
Inheritors
Properties
The previously specified transformation which will yield the new subject.
The so far chosen options up to the TransformationStep step.
Functions
Skips this step by using withDefaultFailureHandler and calls FinalStep.build.
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.
Uses the given failureHandler as SubjectChanger.FailureHandler to create the failing assertion in case the subject change fails.
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.