notToEqualOneIn
Deprecated
Use notToBeIn instead (write us if you really need strict equality checking), will be removed with 2.0.0 at the latest
Replace with
import ch.tutteli.atrium.api.fluent.en_GB.notToBeIn
Content copied to clipboard
this.notToBeIn(expected)Content copied to clipboard
Expects that the subject of this expectation is not equal to any value of expected.
Notice that a runtime check applies which assures that only Iterable, Sequence or one of the Array types are passed. This function expects IterableLike (which is a typealias for Any) to avoid cluttering the API.
Return
an Expect for the subject of this expectation.
Since
0.17.0
Throws
in case the iterable is empty.
Samples
expect(99).notToEqualOneIn(listOf(1, 2, 3, 4))
fails {
expect(1).notToEqualOneIn(listOf(1, 2, 3, 4))
}