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

AnyTypeTransformation

interface AnyTypeTransformation (source)

Defines the contract for sophisticated type transformation assertion builders.

The assertion is created by a AnyTypeTransformation.Creator which itself uses a 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