atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating.changers.impl.subjectchanger / DeprecatedKindStepImpl

DeprecatedKindStepImpl

class DeprecatedKindStepImpl<T> : SubjectChangerBuilder.DeprecatedKindStep<T> (source)

Constructors

<init>

DeprecatedKindStepImpl(originalPlant: <ERROR CLASS><T>)

Properties

originalPlant

val originalPlant: <ERROR CLASS><T>

The previously specified assertion plant to which the new Assert will delegate assertion checking.

Inherited Functions

unreported

open fun <R : Any> unreported(transformation: (T) -> R): <ERROR CLASS><R>

unreportedNullable

open fun <R> unreportedNullable(transformation: (T) -> R): <ERROR CLASS><R>

Extension Functions

asExpect

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.