doc / ch.tutteli.atrium.assertions.any.typetransformation / TypeTransformer

TypeTransformer

class TypeTransformer<T : Any, TSub : Any> (source)
Deprecated: Use AssertImpl.any.typeTransformation.transform; will be removed with 1.0.0

Deprecated, use AnyTypeTransformerAssertions.transformType; will be removed with 1.0.0

Constructors

<init>

TypeTransformer(failureHandler: AnyTypeTransformation.TypeTransformationFailureHandler<T, TSub>)

Deprecated, use AnyTypeTransformerAssertions.transformType; will be removed with 1.0.0

Functions

transform

fun transform(description: Translatable, representation: Any, subjectPlant: BaseAssertionPlant<T?, *>, assertionCreator: AssertionPlant<TSub>.() -> Unit, warningTransformationFailed: Translatable, canBeTransformed: (T) -> Boolean, transform: (T) -> TSub): Unit