TransformationStep

Step to define the transformation which yields the new subject wrapped into a Some if the transformation as such can be carried out; otherwise None.

Parameters

T

the type of the current subject.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract 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

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
abstract val representation: Any

The previously specified representation of the change.