infix fun <T : Any> Assert<T>.notToBe(expected: T): AssertionPlant<T>
(source)
Makes the assertion that the Assert.subject is not (equal to) expected.
This method might enforce in the future, that expected has to be the same type as Assert.subject.
Currently the following is possible: assert(1).notToBe(1.0)
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This plant to support a fluent API.
infix fun <T : Any> Assert<T>.notToBe(keyword: Keyword): Nothing
(source)infix fun <T : CharSequence> Assert<T>.notToBe(Empty: Empty): AssertionPlant<T>
(source)
Makes the assertion that the Assert.subject CharSequence.kotlin.text.isNotEmpty.
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>.notToBe(Blank: Blank): AssertionPlant<T>
(source)
Makes the assertion that the Assert.subject CharSequence.kotlin.text.isNotBlank.
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This plant to support a fluent API.