infix fun <T> Expect<T>.notToBe(expected: T): Expect<T>
Expects that the subject of the assertion is not (equal to) expected.
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
An Expect for the current subject of the assertion.
infix fun <T : CharSequence> Expect<T>.notToBe(Empty: Empty): Expect<T>
Expects that the subject of the assertion (a CharSequence) CharSequence.kotlin.text.isNotEmpty.
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This assertion container to support a fluent API.
infix fun <T : CharSequence> Expect<T>.notToBe(Blank: Blank): Expect<T>
Expects that the subject of the assertion (a CharSequence) CharSequence.kotlin.text.isNotBlank.
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
This assertion container to support a fluent API.