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.
abstract fun <T : Any> isNotNull(plant: AssertionPlantNullable<T?>, type: KClass<T>, assertionCreator: AssertionPlant<T>.() -> Unit): Assertion |
|
abstract fun <T : Any> isNotNullBut(plant: AssertionPlantNullable<T?>, type: KClass<T>, expected: T): Assertion |
|
abstract fun <T : Any> isNotSame(plant: AssertionPlant<T>, expected: T): Assertion |
|
abstract fun <T> isNull(plant: AssertionPlantNullable<T>): Assertion |
|
abstract fun <T : Any> isNullIfNullGivenElse(plant: AssertionPlantNullable<T?>, type: KClass<T>, assertionCreatorOrNull: AssertionPlant<T>.() -> Unit): Assertion |
|
abstract fun <T : Any> isNullable(plant: AssertionPlantNullable<T?>, type: KClass<T>, expectedOrNull: T?): Assertion |
|
abstract fun <T : Any> isSame(plant: AssertionPlant<T>, expected: T): Assertion |
|
abstract fun <T : Any> notToBe(plant: AssertionPlant<T>, expected: T): Assertion |
|
abstract fun <T : Any> toBe(plant: AssertionPlant<T>, expected: T): Assertion |
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 loadSingleService. |