doc / ch.tutteli.atrium.logic / MapEntryAssertions

MapEntryAssertions

interface MapEntryAssertions (source)

Collection of assertion functions and builders which are applicable to subjects with a Map.Entry type.

Functions

isKeyValue

abstract fun <K, V, T : Entry<K, V>> isKeyValue(container: AssertionContainer<T>, key: K, value: V): Assertion

key

abstract fun <K, T : Entry<K, *>> key(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, K>

value

abstract fun <V, T : Entry<*, V>> value(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, V>

Inheritors

DefaultMapEntryAssertions

class DefaultMapEntryAssertions : MapEntryAssertions