withFailureHandlerAdapter
open fun <SubjectIntermediateT> withFailureHandlerAdapter(failureHandler: SubjectChanger.FailureHandler<SubjectIntermediateT, SubjectAfterChangeT>, map: (SubjectT) -> SubjectIntermediateT): SubjectChangerBuilder.FinalStep<SubjectT, SubjectAfterChangeT>(source)
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.