fun <T : CharSequence> IAssertionPlant<T>.containsNot(expected: CharSequence): IAssertionPlant<T>
Makes the assertion that IAssertionPlant.subject does not contain the expected.
AssertionError
- Might throw an AssertionError if the assertion made is not correct
Return
This plant to support a fluent-style API.
fun <T : CharSequence> IAssertionPlant<T>.containsNot(expected: CharSequence, vararg otherExpected: CharSequence): IAssertionPlant<T>
Makes the assertion that IAssertionPlant.subject does not contain the expected and neither one of the otherExpecteds (if defined).
AssertionError
- Might throw an AssertionError if the assertion made is not correct
Return
This plant to support a fluent-style API.
fun <T : CharSequence> IAssertionPlant<T>.containsNot(expected: ITranslatable, vararg otherExpected: ITranslatable): IAssertionPlant<T>
Makes the assertion that IAssertionPlant.subject contains expected's getDefault representation and the getDefault representation of the otherExpected (if defined).
AssertionError
- Might throw an AssertionError if the assertion made is not correct
Return
This plant to support a fluent-style API.
fun <T : CharSequence> IAssertionPlant<T>.containsNot(expected: Any, vararg otherExpected: Any): IAssertionPlant<T>
Makes the assertion that IAssertionPlant.subject does not contain expected's toString representation and neither one of the otherExpected's toString representation (if defined).
AssertionError
- Might throw an AssertionError if the assertion made is not correct
Return
This plant to support a fluent-style API.