object MapAssertionsBuilder (source)
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.
val entry: MapEntryAssertionsBuilder
Returns MapEntryAssertionsBuilder which inter alia delegates to the implementation of MapEntryAssertions. |
fun <K, V, T : Map<out K, V>> contains(expect: <ERROR CLASS><T>, keyValuePairs: List<Pair<K, V>>): <ERROR CLASS>fun <K, V> |
|
fun <K> containsKey(subjectProvider: <ERROR CLASS><Map<out K, *>>, key: K): <ERROR CLASS> |
|
fun <K, V : Any, T : Map<out K, V?>> containsKeyWithValueAssertions(expect: <ERROR CLASS><T>, valueType: KClass<V>, keyValues: List<Pair<K, (<ERROR CLASS><V>.() -> Unit)?>>): <ERROR CLASS>fun <K, V : Any> |
|
fun <K> containsNotKey(subjectProvider: <ERROR CLASS><Map<out K, *>>, key: K): <ERROR CLASS> |
|
fun <K, V, T : Map<out K, V>> getExisting(expect: <ERROR CLASS><T>, key: K): <ERROR CLASS><T, V>fun <K, V : Any> fun <K, V : Any> |
|
fun <K, V> fun <K, V> |
|
fun |
|
fun isEmpty(subjectProvider: <ERROR CLASS><Map<*, *>>): <ERROR CLASS> |
|
fun isNotEmpty(subjectProvider: <ERROR CLASS><Map<*, *>>): <ERROR CLASS> |
|
fun <K> |
|
fun <T : Map<*, *>> size(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <V> |
fun <T, A> A.asExpect(): <ERROR CLASS><T>fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |