doc / ch.tutteli.atrium.domain.builders.creating.changers / SubjectChangerBuilder / DeprecatedKindStep

DeprecatedKindStep

interface DeprecatedKindStep<T>
Deprecated: Do no longer use Assert, use Expect instead - this method was introduced in 0.9.0 to ease the migration from Assert to Expect; will be removed with 1.0.0

Step where one has to decide the kind of subject change.

Parameters

T - the type of the current subject.

Properties

originalPlant

abstract val originalPlant: SubjectProvider<T>

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

Functions

unreported

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

unreportedNullable

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