class ExecutionStepImpl<T, R> : SubjectChangerBuilder.ExecutionStep<T, R>, BaseTransformationExecutionStep<T, R, Expect<R>>
ExecutionStepImpl(container: AssertionContainer<T>, action: AssertionContainer<T>.() -> Expect<R>, actionAndApply: AssertionContainer<T>.(Expect<R>.() -> Unit) -> Expect<R>) |
val action: AssertionContainer<T>.() -> E
An action such as transform, extract etc. which creates and returns a new Expect of type R. |
|
val actionAndApply: AssertionContainer<T>.(Expect<R>.() -> Unit) -> Expect<R>
An action such as transform, extract etc. which not only creates and returns a new Expect of type R but also applies a given assertionCreator lambda. |
|
val container: AssertionContainer<T>
Expect which was involved in the building process and holds assertion for the initial subject. |
fun <T, R> TransformationExecutionStep<T, R, *>.collectAndLogicAppend(assertionCreator: AssertionContainer<R>.() -> Assertion): Expect<T>
Finishes the transformation process by appending the Assertion which is returned when calling TransformationExecutionStep.collectAndAppend with _logicAppend and the given assertionCreator. |