infix fun <T : CharSequence> Assert<T>.containsNot(expected: Any): AssertionPlant<T>
Makes the assertion that the Assert.subject does not expected's toString representation.
Delegates to containsNot.
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>
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)
.
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>
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)
.
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>
Makes the assertion that the Assert.subject does not contain the expected value.
Delegates to containsNot Values(expected)
.
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>
Makes the assertion that the Assert.subject does not contain the expected values.
It is a shortcut for notTo contain the Values(...)
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>
Makes the assertion that the Assert.subject does not contain the expected objects.
It is a shortcut for notTo contain the Objects(...)
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This plant to support a fluent API.