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

asEntries

fun <K, V> Assert<Map<out K, V>>.asEntries(): Assert<Set<Entry<K, V>>>
Deprecated: api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0

Turns Assert<Map<out K, V>> into Assert<Set<Map.Entry<K, V>>>.

The transformation as such is not reflected in reporting. Use property(subject::entries) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.

fun <K, V> Assert<Map<out K, V>>.asEntries(assertionCreator: Assert<Set<Entry<K, V>>>.() -> Unit): Assert<Set<Entry<K, V>>>
Deprecated: api-cc-de_CH is discontinued, switch to api-fluent-en_GB; will be removed with 1.0.0

Turns Assert<Map<out K, V>> into Assert<Set<Map.Entry<K, V>>> and makes the assertion that the assertions the given assertionCreator might create hold.

The transformation as such is not reflected in reporting. Use property(subject::entries) if you want to show the transformation in reporting.

Return
The newly created AssertionPlant for the transformed subject.