class TransformationStepImpl<T> : SubjectChangerBuilder.TransformationStep<T>
TransformationStepImpl(originalAssertionContainer: Expect<T>, description: Translatable, representation: Any) |
val description: Translatable
The previously specified description which describes the kind of subject change. |
|
val originalAssertionContainer: Expect<T>
The previously specified assertion container to which the new Expect will delegate assertion checking. |
|
val representation: Any
The previously specified representation of the change. |
fun <R> withTransformation(transformation: (T) -> Option<R>): SubjectChangerBuilder.FailureHandlerOption<T, R>
Defines the new subject, most likely based on the current subject (but does not need to be). |