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

isNoneOf

infix fun <T> Expect<T>.isNoneOf(values: Values<T>): Expect<T> (source)
Deprecated: Use notToEqualOneOf; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation is not (equal to) in values.

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

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

Parameters

values - The values which are not expected to be contained within the subject of this expectation -- use the function values(t, ...) to create a Values.

Return
an Expect for the subject of this expectation.

Since
0.13.0