none
Asserts on each item in the iterable, passing if none of the items pass. The given lambda will be run for each item.
assertThat(listOf("one", "two")).none {
it.hasLength(2)
}
Content copied to clipboard
Asserts on each item in the sequence, passing if none of the items pass. The given lambda will be run for each item.
assertThat(sequenceOf("one", "two")).none {
it.hasLength(2)
}
Content copied to clipboard