doc / ch.tutteli.atrium.logic.impl / DefaultAnyAssertions

DefaultAnyAssertions

class DefaultAnyAssertions : AnyAssertions

Constructors

<init>

DefaultAnyAssertions()

Functions

isA

fun <T, TSub : Any> isA(container: AssertionContainer<T>, subType: KClass<TSub>): SubjectChangerBuilder.ExecutionStep<T, TSub>

isNotIn

fun <T> isNotIn(container: AssertionContainer<T>, expected: Iterable<T>): Assertion

isNotSameAs

fun <T> isNotSameAs(container: AssertionContainer<T>, expected: T): Assertion

isSameAs

fun <T> isSameAs(container: AssertionContainer<T>, expected: T): Assertion

notToBe

fun <T> notToBe(container: AssertionContainer<T>, expected: T): Assertion

notToBeNullButOfType

fun <T : Any> notToBeNullButOfType(container: AssertionContainer<T?>, subType: KClass<T>): SubjectChangerBuilder.ExecutionStep<T?, T>

toBe

fun <T> toBe(container: AssertionContainer<T>, expected: T): Assertion

toBeNull

fun <T> toBeNull(container: AssertionContainer<T>): Assertion

toBeNullIfNullGivenElse

fun <T : Any> toBeNullIfNullGivenElse(container: AssertionContainer<T?>, type: KClass<T>, assertionCreatorOrNull: (Expect<T>.() -> Unit)?): Assertion