doc / ch.tutteli.atrium.api.fluent.en_GB / isNoneOf

isNoneOf

fun <T> Expect<T>.isNoneOf(expected: T, vararg otherValues: T): Expect<T> (source)

Expects that the subject of this expectation is not (equal to) expected and otherValues.

expect(99).isNoneOf(1, 2, 3, 4)

fails {
    expect(1).isNoneOf(1, 2, 3, 4)
}

Return
an Expect for the subject of this expectation.

Since
0.13.0