atrium-domain-robstoll-jvm / ch.tutteli.atrium.domain.robstoll.creating / AnyAssertionsImpl

AnyAssertionsImpl

class AnyAssertionsImpl : AnyAssertionsDeprecatedImpl (source)

Constructors

<init>

AnyAssertionsImpl()

Functions

isA

fun <T, TSub : Any> isA(expect: <ERROR CLASS><T>, subType: KClass<TSub>): <ERROR CLASS>

isNotSame

fun <T> isNotSame(subjectProvider: <ERROR CLASS><T>, expected: T): <ERROR CLASS>

isSame

fun <T> isSame(subjectProvider: <ERROR CLASS><T>, expected: T): <ERROR CLASS>

notToBe

fun <T> notToBe(subjectProvider: <ERROR CLASS><T>, expected: T): <ERROR CLASS>

toBe

fun <T> toBe(subjectProvider: <ERROR CLASS><T>, expected: T): <ERROR CLASS>

toBeNull

fun <T> toBeNull(subjectProvider: <ERROR CLASS><T>): <ERROR CLASS>

toBeNullIfNullGivenElse

fun <T : Any> toBeNullIfNullGivenElse(expect: <ERROR CLASS><T?>, type: KClass<T>, assertionCreatorOrNull: (<ERROR CLASS><T>.() -> Unit)?): <ERROR CLASS>

Inherited Functions

isNotNull

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

isNotNullBut

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

isNullable

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

isNullIfNullGivenElse

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