interface MapAssertions
Defines the minimum set of assertion functions and builders applicable to Map, which an implementation of the domain of Atrium has to provide.
abstract fun <K, V, T : Map<out K, V>> contains(expect: Expect<T>, keyValuePairs: List<Pair<K, V>>): Assertion abstract fun <K, V> |
|
abstract fun <K> containsKey(subjectProvider: SubjectProvider<Map<out K, *>>, key: K): Assertion |
|
abstract fun <K, V : Any, T : Map<out K, V?>> containsKeyWithValueAssertions(expect: Expect<T>, valueType: KClass<V>, keyValues: List<Pair<K, (Expect<V>.() -> Unit)?>>): Assertion abstract fun <K, V : Any> |
|
abstract fun <K> containsNotKey(subjectProvider: SubjectProvider<Map<out K, *>>, key: K): Assertion |
|
abstract fun <K, V, T : Map<out K, V>> getExisting(expect: Expect<T>, key: K): ExtractedFeaturePostStep<T, V> abstract fun <K, V : Any> abstract fun <K, V : Any> |
|
abstract fun <K, V> abstract fun <K, V> |
|
abstract fun |
|
abstract fun isEmpty(subjectProvider: SubjectProvider<Map<*, *>>): Assertion |
|
abstract fun isNotEmpty(subjectProvider: SubjectProvider<Map<*, *>>): Assertion |
|
abstract fun <K> |
|
abstract fun <T : Map<*, *>> size(expect: Expect<T>): ExtractedFeaturePostStep<T, Int> |
|
abstract fun <V> |
object MapAssertionsBuilder : MapAssertions
Delegates inter alia to the implementation of MapAssertions. In detail, it implements MapAssertions by delegating to mapAssertions which in turn delegates to the implementation via loadSingleService. |