TransformationStepImpl
class TransformationStepImpl<SubjectT>(val container: AssertionContainer<SubjectT>, val description: Translatable, val representation: Any) : SubjectChangerBuilder.TransformationStep<SubjectT> (source)
Constructors
Link copied to clipboard
constructor(container: AssertionContainer<SubjectT>, description: Translatable, representation: Any)
Properties
Link copied to clipboard
The previously specified assertion container to which the new Expect will delegate.
Link copied to clipboard
The previously specified description which describes the kind of subject change.
Link copied to clipboard
The previously specified representation of the change.
Functions
Link copied to clipboard
open override fun <SubjectAfterChangeT> withTransformation(transformation: (SubjectT) -> Option<SubjectAfterChangeT>): SubjectChangerBuilder.FailureHandlerStep<SubjectT, SubjectAfterChangeT>
Defines the new subject, most likely based on the current subject (but does not need to be).