class TransformationStepImpl<T> : SubjectChangerBuilder.TransformationStep<T> (source)
TransformationStepImpl(originalExpect: <ERROR CLASS><T>, description: <ERROR CLASS>, representation: Any) |
val description: <ERROR CLASS>
The previously specified description which describes the kind of subject change. |
|
val originalExpect: <ERROR CLASS><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) -> <ERROR CLASS><R>): SubjectChangerBuilder.FailureHandlerOption<T, R> |
abstract fun <R> withTransformation(transformation: (T) -> <ERROR CLASS><R>): SubjectChangerBuilder.FailureHandlerOption<T, R>
Defines the new subject, most likely based on the current subject (but does not need to be). |
fun <T, A> A.asExpect(): <ERROR CLASS><T>fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |