doc / ch.tutteli.atrium.domain.creating / AnyAssertions

AnyAssertions

interface AnyAssertions (source)

Defines the minimum set of assertion functions and builders applicable to Any type, which an implementation of the domain of Atrium has to provide.

Functions

isNotSame

abstract fun <T : Any> isNotSame(plant: AssertionPlant<T>, expected: T): Assertion

isNull

abstract fun <T> isNull(plant: AssertionPlantNullable<T>): Assertion

isSame

abstract fun <T : Any> isSame(plant: AssertionPlant<T>, expected: T): Assertion

notToBe

abstract fun <T : Any> notToBe(plant: AssertionPlant<T>, expected: T): Assertion

toBe

abstract fun <T : Any> toBe(plant: AssertionPlant<T>, expected: T): Assertion

Inheritors

AnyAssertionsBuilder

object AnyAssertionsBuilder : AnyAssertions

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 ServiceLoader.