atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating.changers.impl.subjectchanger / TransformationStepImpl / withTransformation

withTransformation

fun <R> withTransformation(transformation: (T) -> Option<R>): SubjectChangerBuilder.FailureHandlerOption<T, R>

Overrides TransformationStep.withTransformation

Defines the new subject, most likely based on the current subject (but does not need to be).