doc / ch.tutteli.atrium / hasSize

hasSize

fun <T : Collection<*>> IAssertionPlant<T>.hasSize(size: Int): IAssertionPlant<T> (source)

Makes the assertion that IAssertionPlant.subject's Collection.size is size.

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.