Constructors

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

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.