TransformationStepImpl

class TransformationStepImpl<T>(val container: AssertionContainer<T>, val description: Translatable, val representation: Any) : SubjectChangerBuilder.TransformationStep<T> (source)

Constructors

Link copied to clipboard
constructor(container: AssertionContainer<T>, description: Translatable, representation: Any)

Functions

Link copied to clipboard
open override 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).

Properties

Link copied to clipboard
open override val container: AssertionContainer<T>

The previously specified assertion container to which the new Expect will delegate.

Link copied to clipboard
open override val description: Translatable

The previously specified description which describes the kind of subject change.

Link copied to clipboard
open override val representation: Any

The previously specified representation of the change.