doc / ch.tutteli.atrium / containsNot

containsNot

fun <T : CharSequence> IAssertionPlant<T>.containsNot(expected: CharSequence): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject does not contain the expected.

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.

fun <T : CharSequence> IAssertionPlant<T>.containsNot(expected: CharSequence, vararg otherExpected: CharSequence): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject does not contain the expected and neither one of the otherExpecteds (if defined).

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.

fun <T : CharSequence> IAssertionPlant<T>.containsNot(expected: Any, vararg otherExpected: Any): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject does not contain expected's toString representation and neither one of the otherExpected's toString representation (if defined).

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.