doc / ch.tutteli.atrium.domain.creating.any.typetransformation / AnyTypeTransformation

AnyTypeTransformation

interface AnyTypeTransformation (source)
Deprecated: Switch from `Assert` to `Expect` use `SubjectChanger` instead; will be removed with 1.0.0

Defines the contract for sophisticated type transformation assertion builders.

The assertion is created by a AnyTypeTransformation.Creator which itself uses a AnyTypeTransformation.FailureHandler to report a failing transformation.

Types

Creator

interface Creator<S : Any, T : Any>

Represents the final step of a sophisticated type transformation assertion builder which creates the Assertion as such.

FailureHandler

interface FailureHandler<in S : Any, out T : Any>

A handler which is responsible to create the Assertion of a failed type transformation.

ParameterObject

data class ParameterObject<out S : Any, in T : Any>

A parameter object which contains all necessary information to report a failure