notToEqualOneOf

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

Deprecated

Use notToBeIn instead, will be removed with 2.0.0 at the latest

Replace with

import ch.tutteli.atrium.api.fluent.en_GB.notToBeIn
import ch.tutteli.kbox.glue
this.notToBeIn(expected glue otherValues)

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

Return

an Expect for the subject of this expectation.

Since

0.17.0

Samples

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

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