doc / ch.tutteli.atrium.domain.builders.creating / AnyAssertionsBuilder

AnyAssertionsBuilder

object AnyAssertionsBuilder : AnyAssertions (source)

Delegates inter alia to the implementation of AnyAssertions. In detail, it implements AnyAssertions by delegating to anyAssertions which in turn delegates to the implementation via loadSingleService.

Properties

typeTransformation

val typeTransformation: AnyTypeTransformationAssertionsBuilder

Returns AnyTypeTransformationAssertionsBuilder which inter alia delegates to the implementation of AnyTypeTransformationAssertions.

Functions

isNotNull

fun <T : Any> isNotNull(plant: AssertionPlantNullable<T?>, type: KClass<T>, assertionCreator: AssertionPlant<T>.() -> Unit): <ERROR CLASS>

isNotNullBut

fun <T : Any> isNotNullBut(plant: AssertionPlantNullable<T?>, type: KClass<T>, expected: T): <ERROR CLASS>

isNotSame

fun <T : Any> isNotSame(plant: AssertionPlant<T>, expected: T): <ERROR CLASS>

isNull

fun <T> isNull(plant: AssertionPlantNullable<T>): <ERROR CLASS>

isNullIfNullGivenElse

fun <T : Any> isNullIfNullGivenElse(plant: AssertionPlantNullable<T?>, type: KClass<T>, assertionCreatorOrNull: AssertionPlant<T>.() -> Unit): <ERROR CLASS>

isNullable

fun <T : Any> isNullable(plant: AssertionPlantNullable<T?>, type: KClass<T>, expectedOrNull: T?): <ERROR CLASS>

isSame

fun <T : Any> isSame(plant: AssertionPlant<T>, expected: T): <ERROR CLASS>

notToBe

fun <T : Any> notToBe(plant: AssertionPlant<T>, expected: T): <ERROR CLASS>

toBe

fun <T : Any> toBe(plant: AssertionPlant<T>, expected: T): <ERROR CLASS>