doc / ch.tutteli.atrium.api.cc.infix.en_UK / containsNot

containsNot

infix fun <T : CharSequence> Assert<T>.containsNot(expected: Any): AssertionPlant<T> (source)
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

Makes the assertion that the Assert.subject does not expected's toString representation.

Delegates to containsNot.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.

infix fun <T : CharSequence> Assert<T>.containsNot(values: Values<Any>): AssertionPlant<T> (source)
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

Makes the assertion that the Assert.subject does not contain the toString representation of the given values.

It is a shortcut for notTo contain the Values(expected, *otherExpected).

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.

infix fun <T : CharSequence> Assert<T>.containsNot(defaultTranslationsOf: DefaultTranslationsOf): AssertionPlant<T> (source)
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

Makes the assertion that the Assert.subject does not contain DefaultTranslationsOf.expected's getDefault representation and neither one of the DefaultTranslationsOf.otherExpected's getDefault representation (if given).

It is a shortcut for notTo contain the DefaultTranslationsOf(expected, *otherExpected).

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.

infix fun <E, T : Iterable<E>> Assert<T>.containsNot(expected: E): AssertionPlant<T> (source)
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

Makes the assertion that the Assert.subject does not contain the expected value.

Delegates to containsNot Values(expected).

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.

infix fun <E, T : Iterable<E>> Assert<T>.containsNot(values: Values<E>): AssertionPlant<T> (source)
Deprecated: Use `notTo contain the NullableValues` from package en_GB or `containsNot` from package en_GB in case you do not deal with nullable elements; will be removed with 1.0.0

Makes the assertion that the Assert.subject does not contain the expected values.

It is a shortcut for notTo contain the Values(...)

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.

infix fun <E, T : Iterable<E>> Assert<T>.containsNot(objects: Objects<E>): AssertionPlant<T> (source)
Deprecated: Will be removed with 1.0.0 because it is redundant in terms of `containsNot Values(expected, otherExpected)` without adding enough to be a legit alternative.

Makes the assertion that the Assert.subject does not contain the expected objects.

It is a shortcut for notTo contain the Objects(...)

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.