AnyAssertions
Collection of assertion functions and builders which are applicable to any type (sometimes Any?
sometimes Any
).
Inheritors
Functions
Link copied to clipboard
abstract fun <T, SubTypeOfT : Any, T> isA(container: AssertionContainer<T>, subType: KClass<SubTypeOfT>): SubjectChangerBuilder.ExecutionStep<T, SubTypeOfT>
Link copied to clipboard
Link copied to clipboard
abstract fun <T> notToBeAnInstanceOf(container: AssertionContainer<T>, notExpectedTypes: List<KClass<*>>): Assertion
Link copied to clipboard
abstract fun <T : Any> notToBeNullButOfType(container: AssertionContainer<T?>, subType: KClass<T>): SubjectChangerBuilder.ExecutionStep<T?, T>
Link copied to clipboard
abstract fun <T : Any> toBeNullIfNullGivenElse(container: AssertionContainer<T?>, assertionCreatorOrNull: Expect<T>.() -> Unit?): Assertion