doc / ch.tutteli.atrium.api.cc.de_CH / hatDieGroesse

hatDieGroesse

fun <T : Collection<*>> Assert<T>.hatDieGroesse(size: Int): AssertionPlant<T>
Deprecated: api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0

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

Shortcut for size.ist(expectedSize) depends on the underlying implementation though.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
This plant to support a fluent API.