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