doc / ch.tutteli.atrium.logic / AnyAssertions / toBeNullIfNullGivenElse

toBeNullIfNullGivenElse

abstract fun <T : Any> toBeNullIfNullGivenElse(container: AssertionContainer<T?>, type: KClass<T>, assertionCreatorOrNull: (Expect<T>.() -> Unit)?): Assertion
Deprecated: Use the overload which does not expect `type`; will be removed with 0.16.0


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