single

fun <E, T : Iterable<E>> Assert<T>.single(): Assert<E>

Asserts the iterable contains exactly one element, and returns an assert on that element.